From a3d11e6c039b9c3226325ce01e39f6affa56a46a Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 19 Feb 2018 15:00:36 +0100 Subject: Adjust rsyslog.conf to use the journald forwarding (T552). --- sysconf/rsyslog.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sysconf') diff --git a/sysconf/rsyslog.conf b/sysconf/rsyslog.conf index 961806dc..7db872bf 100644 --- a/sysconf/rsyslog.conf +++ b/sysconf/rsyslog.conf @@ -12,6 +12,9 @@ $ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support (previously done by rklogd) #$ModLoad immark # provides --MARK-- message capability +$OmitLocalLogging no +$SystemLogSocketName /run/systemd/journal/syslog + $KLogPath /proc/kmsg # provides UDP syslog reception @@ -54,8 +57,11 @@ $IncludeConfig /etc/rsyslog.d/*.conf #### RULES #### ############### +daemon.* /var/log/messages + # Log authorization failure messages auth,authpriv.* /var/log/auth.log # Emergencies are sent to everybody logged in. *.emerg :omusrmsg:* + -- cgit v1.2.3