DiamondLightSource / DiamondLightSource/mx-bluesky

Murko: Improve logging for redis_to_murko

Open
#805 1 comment 0 reactions 0 assignees View on GitHub
murko
Dominant language
Python
Stars
4
Forks
5
Avg merge
1d 30m
Merged PRs (30d)
2

Description

Currently the `redis_to_murko` forwarder is using the k8s default logger that logs every line of `stdout` to e.g. https://graylog.diamond.ac.uk/search?q=container_name%3A%22mx-bluesky%22+AND+beamline%3A%22i04%22&rangetype=absolute&streams=659ffe96840b242b478da848&from=2025-02-11T03%3A35%3A06.000Z&to=2025-02-11T03%3A38%3A25.000Z

There are some issues with this:
* It's not easy to find the container in the stream
* The logs all get put in at the same error level
* The logs get put in per line so a multi-line error message becomes multiple messages

## Acceptance Criteria
- `redis_to_murko` controls it's own logging and the above is fixed for it

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.