summaryrefslogtreecommitdiff
path: root/sysconf
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-02-19 15:00:36 +0100
committerDaniil Baturin <daniil@baturin.org>2018-02-19 15:00:36 +0100
commita3d11e6c039b9c3226325ce01e39f6affa56a46a (patch)
tree0e85b849135319f39620c6046e4c41e0d8b17c8e /sysconf
parenta974b61d94af35df0cc7e9a3dca3cb758d85d91e (diff)
downloadvyatta-cfg-system-a3d11e6c039b9c3226325ce01e39f6affa56a46a.tar.gz
vyatta-cfg-system-a3d11e6c039b9c3226325ce01e39f6affa56a46a.zip
Adjust rsyslog.conf to use the journald forwarding (T552).
Diffstat (limited to 'sysconf')
-rw-r--r--sysconf/rsyslog.conf6
1 files changed, 6 insertions, 0 deletions
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:*
+