rsyslog_traps_rsyslog.conf.patch
modif/rsyslog_traps_rsyslog.conf 2015-03-06 12:55:32.344390558 +0100 | ||
---|---|---|
1 | 1 |
# Templates for local and remote logging |
2 |
$template DynLocalRsyslog, "/var/log/rsyslog/local/rsyslog/rsyslog.%syslogseverity-text%.log"
|
|
3 |
$template DynRemoteRsyslog, "/var/log/rsyslog/remote/%fromhost%/rsyslog/rsyslog.%syslogseverity-text%.log"
|
|
2 |
$template DynLocalRsyslog, "/var/log/rsyslog/local/rsyslog/rsyslog.%syslogseverity-text%.log" |
|
3 |
$template DynRemoteRsyslog, "/var/log/rsyslog/remote/%fromhost%/%hostname%/rsyslog/rsyslog.%syslogseverity-text%.log"
|
|
4 | 4 |
%if %%activer_reception_logs == 'non' |
5 | 5 |
# all messages go in local branch |
6 | 6 |
:programname, startswith, "rsyslog" ?DynLocalRsyslog |