Posted on Wed 21 April 2021

make systemd journald dump to rsyslogd

This is a reminder to myself on how to make the systemd journald relay everything through rsyslogd, so we get useful info in /var/log.

In /etc/systemd/system/syslog.service, set


In /etc/rsyslog.conf, set

module(load="imuxsock" SysSock.Name="/run/systemd/journal/syslog" ) # provides support for local system logging

then restart rsyslogd.

© -dsr-. Send feedback or comments via email — by continuing to use this site you agree to certain terms and conditions.

Built using Pelican. Derived from the svbhack theme by Giulio Fidente on github.