X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Frsyslog.conf;fp=etc%2Frsyslog.conf;h=465dce4477e8c1e3f9035fc370e1fa5166440fdf;hb=011915ac6513a85cec1583e807cd6b4209ccd6b4;hp=9d1aac12bb885a82e4aed60f8438c6bd8c0cd537;hpb=bb55af102f9b04f0319d55fb6f7ded2543770cfd;p=matthijs%2Fservers%2Ftika.git diff --git a/etc/rsyslog.conf b/etc/rsyslog.conf index 9d1aac1..465dce4 100644 --- a/etc/rsyslog.conf +++ b/etc/rsyslog.conf @@ -52,7 +52,11 @@ $MainMsgQueueSaveOnShutdown on #### Local logging #### ####################### -# +# Discard all log entries not locally generated (note that the ~ here is the +# "discard" action, preventing the rules below from bein ran on these messages. +if $fromhost-ip != '127.0.0.1' then ~ + + # Log each facility into its own log auth,authpriv.* /var/log/rsyslog/auth.log cron.* -/var/log/rsyslog/user.log