Hideki Yamane wrote:
> We've switched to systemd and I've noticed that journald feature is
> not enabled. I can easily do it as README.Debian suggested, but wonder
> why logging by journald is not enabled by default.
>
> Is there any reason? (just a curious)

The in-memory non-persistent journal (/run/log/journal) is enabled; if
you run journalctl you can see the logs from the current boot.

The on-disk persistent journal (/var/log/journal) is disabled because at
the moment, Debian systems use syslog by default (via rsyslog), and
enabling the persistent journal would result in two copies of log
messages.

Since the journal is capable of capturing messages sent to syslog, I'm
hoping that at some point the systemd source package will build a binary
package that installs /var/log/journal and Provides the
system-log-daemon and linux-kernel-log-daemon virtual packages.  (As
well as a non-default one that provides the same virtual packages but
doesn't provide the persistent journal directory, for systems that want
transient in-memory logging only.)

- Josh Triplett


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150509174109.GA11220@x

Reply via email to