Debian and Ubuntu rsyslog defaults switched to ISO-style timestamps
Original title: A brief history of syslog timestamps, (Sun, Nov 22nd)
Debian 12 and Ubuntu 23.04 dropped the traditional file-format directive after stopping default rsyslog installs.
A SANS diary traces syslog timestamps from Eric Allman's 1983 syslogd through RFC 3164 and RFC 5424. It says Debian 12 and Ubuntu 23.04 stopped installing rsyslogd by default, moved to the systemd journal, and removed the RSYSLOG_TraditionalFileFormat directive, so installed rsyslog writes RFC 3339-style timestamps. Fedora and Alma still keep the older directive. journalctl can emit either short or short-iso-precise output.
Unconfirmed: The author is unsure whether ISO timestamps are the default on a fresh syslog-ng install.
- rsyslog added optional RFC 3339 timestamps around 2005.
- RFC 5424 in 2009 defined the newer timestamp format.
- The older default was set with RSYSLOG_TraditionalFileFormat in rsyslog.conf.
- syslog-ng can use ts-format(iso) and frac-digits(6).
From the original article
3 min read at isc.sans.edu
BLUF: Debian and Ubuntu dropped a config directive in the rsyslogd package in early 2023.
isc.sans.edu
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.