3 ms·
HEADLINE: Switch to persistent journald by default DESCRIPTION: Right now, Debian's default install includes rsyslog, and every message gets logged twice. Once
by JoshTriplett 9y ago
HEADLINE: Switch to persistent journald by default
DESCRIPTION: Right now, Debian's default install includes rsyslog, and every message gets logged twice. Once in rsyslog on disk, and once in journald in memory. Let's turn on the persistent journal by default, and demote rsyslog to optional. (People who want syslog-based logging can still trivially install it, such as people in an environment that wants network-based syslogging. But that's not the common case.) This will make it easier to get urgent messages displayed in desktop environments as well.
- dragonne 9y agoThis, a thousand times this. Failing that, though, at least change the default rsyslog configuration such that: * Timestamps are not ambiguous (the default includes no timezone offset) * Timestamps are higher resolution (milliseconds at least, but preferably microseconds) * The syslog severity/priority is not discarded (tools which display these files must use disgusting heuristics like searching for "err" to highlight errors) * Rate limiting is disabled, as rsyslog sees all messages as coming from journald. This means that a misbehaving (chatty) application can cause critical messages from other apps to be dropped. journald does its own (per-source) rate limiting anyway. * /var/log/syslog is rotated by size as well as time, so a misbehaving program can't easily fill up the partition which contains that file by accident. The current default is 1/day rotation, with no size limit.