Make systemd journal persistent | remove rsyslog (by default)

Bryan Quigley bryan.quigley at
Tue Jan 10 22:04:47 UTC 2017


In debugging a shutdown issue I came across a bug [1] that indicates
for us to get better logs [2] during shutdown we really need to make
the systemd journal persistent.   We would also need to remove rsyslog
by default so we don't have duplicate writing of logs to disk.

Aside from shutdown logs we also get a lot of other nice metadata.
For instance, you can ask for all the logs since a certain date.  You
can trivially view the logs from 2 boots ago.

The negative is it is in a binary format and you have to use
journalctl to read it.

I'm sure I missed some positives/negatives.   Thoughts on doing this for Zesty?

To try it out:
sudo mkdir /var/log/journal
reboot twice and now you can view old boots (journalctl --list-boots)
(then optionally) apt-get remove rsyslog

Kind regards,


More information about the Ubuntu-devel-discuss mailing list