Put remote logs only in all.log when using rsyslog server

This commit is contained in:
Ossi Salmi 2013-03-01 14:23:00 +02:00
parent f17eacf99a
commit e6c709a9c2
2 changed files with 14 additions and 8 deletions

View file

@ -1,3 +1,9 @@
# Everything goes here
*.* /srv/log/all.log
mark.* /srv/log/all.log
*.* /srv/log/all.log
mark.* /srv/log/all.log
<% if syslog_type == "rsyslog" -%>
# Remote logs only go in all.log
:fromhost-ip, !isequal, "127.0.0.1" ~
<% end -%>