~martijnbraam/logbookd#6: 
Incorrect parsing of RFC 5424 messages with NULL time quality

Example with timeQuality field:

$ echo "Yo!" | logger --rfc5424 -s -t test <13>1 2024-02-13T11:10:40.809422+02:00 oneplus-enchilada test - - [timeQuality tzKnown="1" isSynced="0"] Yo!

logread output: [Feb 13 11:10:40] user test: Yo!

Example without timeQuality:

$ echo "Yo!" | logger --rfc5424=notq -s -t test <13>1 2024-02-13T11:12:02.028241+02:00 oneplus-enchilada test - - - Yo!

logread output: [Feb 13 11:12:02] user test: - Yo!

Note the extra dash.

Status
RESOLVED FIXED
Submitter
tpikonen@mailbox.org
Assigned to
No-one
Submitted
3 months ago
Updated
2 months ago
Labels
No labels applied.

~martijnbraam REPORTED FIXED 3 months ago

I've added a testcase for this now and the fix will be in the next release

Register here or Log in to comment, or comment via email.