Put remote logs only in all.log when using rsyslog server
This commit is contained in:
parent
f17eacf99a
commit
e6c709a9c2
2 changed files with 14 additions and 8 deletions
|
@ -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 -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue