Projet

Général

Profil

rsyslog_traps_rsyslog.conf.patch

Karim Ayari, 06/03/2015 13:01

Télécharger (753 octets)

Voir les différences:

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