[rsyslog] BSD Style Selectors

Rainer Gerhards rgerhards at hq.adiscon.com
Mon Dec 24 18:35:52 CET 2007


Yes, that's right - and: merry xmas :)

Rainer

> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of Scott Baker
> Sent: Monday, December 24, 2007 5:57 PM
> To: rsyslog-users
> Subject: [rsyslog] BSD Style Selectors
> 
> It's been my experience that if I have a config like:
> 
> +server1
> # The authpriv file has restricted access.
> authpriv.*                          -/var/log/secure
> 
> # Log all the mail messages in one place.
> mail.*                       -/var/log/maillog
> 
> # Log cron stuff
> cron.*                        -/var/log/cron
> 
> -----------------------------------------------------
> 
> That +server1 setting applies to everything below it until it's
> changed by another BSD style selector? In other words if server2
> sent cron.* syslog in this config it would not log that in
> /var/log/cron ??
> 
> --
> Scott Baker - Canby Telcom
> RHCE - System Administrator - 503.266.8253
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog


More information about the rsyslog mailing list