Xavier Saint-Claude via rsyslog
2018-11-15 16:37:55 UTC
Hi
i've created a rule like this (which can be improved i'm sure) :
if $programname == 'autofs' then /var/log/autofs.log
& stop
if $programname == 'automount' then /var/log/autofs.log
& stop
it's working fine, but i would like to also exclude it from logging to
/var/log/syslog (and others) because of previous rule i have up in the
conf (and i'm using debug log in autofs)
how does one achieve that ?
thanks in advance
Dann
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.
i've created a rule like this (which can be improved i'm sure) :
if $programname == 'autofs' then /var/log/autofs.log
& stop
if $programname == 'automount' then /var/log/autofs.log
& stop
it's working fine, but i would like to also exclude it from logging to
/var/log/syslog (and others) because of previous rule i have up in the
conf (and i'm using debug log in autofs)
how does one achieve that ?
thanks in advance
Dann
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.