Friday 17 November 2017

Re: Should Ubuntu systemd journal logs be persistent by default?


Jan,

As noted in the linked bug report, there are some logs which are uniquely stored in the systemd journal, the journal is not persistent-by-default, and data loss is occurring as a default behavior. 

On Fri, Nov 17, 2017 at 11:21 AM Jan Claeys <lists@janc.be> wrote:
On Mon, 2017-11-13 at 16:12 +0000, Mark Stosberg wrote:
> *"For a standard Ubuntu Maverick (10.10) system, the output will be
> sent to file /var/log/daemon.log, whilst on newer Ubuntu systems
> such as Ubuntu Natty (11.04), the output will be directed to file
> /var/log/syslog."*
>
> In turn, I understand that "syslog" logging has been persistent-by-
> default per years.
>
> It seems that with the switch to systemd as the init system, the
> logging that originates from the init system became not-persistent by
> default.

    $ grep -c 'systemd\[1\]:' /var/log/syslog
    39

It's still there...


--
Jan Claeys