Play nicely with journalctl's colourisation. #37

Open
opened 2026-07-07 17:17:33 +01:00 by danny · 1 comment
danny commented 2026-07-07 17:17:33 +01:00 (Migrated from gitlab.keyop.co.uk)

Currently journalctl --user -u nfq_forwarder --follow will show logs, but we lose both the colourisation of the go logger and any journalctl colourisation.

I believe journalctl can show colours based on messages (but I could be wrong about that). If it can, ensure our messages can properly trigger these colourisations as we would expect, e.g. 'errors' in red.

Currently `journalctl --user -u nfq_forwarder --follow` will show logs, but we lose both the colourisation of the go logger and any journalctl colourisation. I believe journalctl can show colours based on messages (but I could be wrong about that). If it can, ensure our messages can properly trigger these colourisations as we would expect, e.g. 'errors' in red.
danny commented 2026-07-07 17:19:39 +01:00 (Migrated from gitlab.keyop.co.uk)

changed the description

changed the description
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
keyop-go/nfq_forwarder#37
No description provided.