Bug#1032197: systemd: journalctl -o short-iso-precise not compatible with RFC 3339

Thomas Parmelan tom+debian at ankh.fr.eu.org
Wed Mar 1 13:32:27 GMT 2023


Package: systemd
Version: 252.5-2
Severity: wishlist
X-Debbugs-Cc: tom+debian at ankh.fr.EU.org

Dear Maintainer,

Recent versions of rsyslog (as used in sid) are now using by default
timestamps based on RFC 3339 (Date and Time on the Internet:
Timestamps).

The "-o short-iso-precise" journalctl option uses an ISO 8601 profile
that is not compatible with RFC 3339 (it misses a ':' between the hours
and minutes in the timezone offset).

Making journalct's ISO 8601 format compatible with RFC 3339 would make
things easier for people comparing journalctl output with rsyslog
output, for instance those like me using the 'logcheck' package (which,
in sid, recently started checking by default the systemd journal too).

Would it be possible to change the short-iso-precise in this way, or if
you prefer not changing it, maybe adding a new short-rfc3339-precise
option ? (and probably doing the same thing for short-iso / short-rfc339
too) ?

Best regards,
Tom

-- 
Thomas Parmelan



More information about the Pkg-systemd-maintainers mailing list