Recently realized Debian installs no longer includes rsyslog by default.
Reasons to Keep
- The performance difference for users is generally minimal - rsyslog is pretty efficient - and I have tried to get to a worse case. I mostly only considered desktop scenarios, not 1000s of cloud instances.
- Some users prefer the rsyslog style logs over systemd journal.
Reasons to Drop
- It does increase wear on the disk
- Makes it easier for a small disk to fill up.
- Provides users two ways to look up logs (and journalctl is very convenient to quickly find what you need). It is also possible in certain scenarios for the journal to capture something but rsyslog didn’t.
- Bigger attack surface.
Been discussed multiple times before - best old desktop thread.
Should Ubuntu follow Debian and drop rsyslog from the ubuntu-minimal recommends? Let me know if I missed any reasons. Thanks!
2 Likes
I for one - run a Xubuntu desktop. I do prefer journlctl for my logging purposes. I know of nothing that rsylog does that journalctl does not. Most users have some familiarity with the journal, and documentation is good. There is little reason to cling to antiquated/depreciated tools.
-just my thought-
I’d second this suggestion. At this point, journald supports the critical requirement of being capable of forwarding to remote syslogd instances (which was a concern brought up previously, I believe), hence the only thing rsyslog is really being kept around for is producing a redundant copy of the log in plain-text (with all the redundant I/O that requires).
I’m sure it’ll be argued that being able to debug the plain-text output is valuable, but at this point it’s pretty trivial to use journalctl -D <some-dir> to query the logs of another machine mounted in some location or copied from it.
If users still desire a plain-text copy, they’ll be welcome to install rsyslog (or syslog-ng or any other alternatives), and have journald forward to it locally.
1 Like