Mailing List Archive

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
BSD Style Selectors [ In reply to ]
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