DiamondLightSource / DiamondLightSource/blueapi
Red herring logs
- Dominant language
- Python
- Stars
- 13
- Forks
- 13
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 25
Description
When running plans on i15-1 we get occassional logs of:
* `Invalid correlation id detected: None` (https://graylog.diamond.ac.uk/messages/graylog-prod_33/d3cf3640-73c5-11f1-9050-ba072096fdc1)
* `Invalid type ... in attribute 'msg.args' value sequence. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or None` (https://graylog.diamond.ac.uk/messages/graylog-prod_33/03bca6d1-73c6-11f1-9050-ba072096fdc1)
These seem to cause no actual issues on the beamline but confuse support staff trying to diagnose other issues
## Acceptance Criteria
- The above error logs are removed (or at least reduced to debug)
Contributor guide
Research direction
Start by reproducing a plan on i15-1 and search the codebase for the exact messages "Invalid correlation id detected" and "Invalid type". Trace which logging paths emit them, then verify that the messages are removed or reduced to debug without affecting beamline operation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100