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

Requires=syslog.socket

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. Many changes ago this used to be the svbhack theme by Giulio Fidente on github.

ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86