-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graylog: Improve message formatting #487
Comments
@dperl-dls thinks this may be fixed, check |
Not limited to graylog, it is in all logs: DiamondLightSource/hyperion#634 - should fix this at the same time |
oops, closed by accident sorry |
|
It does look like with the most recent version (I think this is probably a python 3.11 thing) we do get e.g. tracebacks formatted correctly: Meanwhile the json is generally formatted compactly, this is because we insert it in strings ourselves as the |
Ah, if it's just the json then I think we should format it ourselves nicely for the logs |
Well, we should probably add some solution for tracebacks in 3.10 if we are supporting it, but I don't think it's very urgent |
Multiline messages do not format nicely on graylog, instead showing
/n
chars. See https://graylog.diamond.ac.uk/messages/graylog-daq-mx-hyperion_7/5018d5d6-06ef-11ef-9f8e-223dcd8d7ad4 we should try and work out if we can format them betterAcceptance Criteria
The text was updated successfully, but these errors were encountered: