DiamondLightSource / DiamondLightSource/mx-bluesky
Create configurable logger which is mounted to a PVC
- Dominant language
- Python
- Stars
- 4
- Forks
- 5
- Avg merge
- 1d 30m
- Merged PRs (30d)
- 2
Description
It will be useful to have a configurable logger in BlueAPI which can be saved to-file in a PVC.
The use-case for me is for debug logs which I don't want to send to graylog as the debug logs of bluesky/ophyd are too loud.
MX currently write debug logs to a file which overwrites itself once it gets to a certain size, as well as saves the last hour of output to file if an exception has been raised. If these files could get written to a PVC, we can keep our behaviour the same
## Acceptance Criteria
- Configurable logger added which writes to file in a mounted PVC
- Can optionally write to STDOUT, graylog, and to file at different levels
Contributor guide
Assessment
This issue has not been assessed yet.