[lug] Syslog woes
Daniel Webb
lists at danielwebb.us
Thu Dec 14 20:45:53 MST 2006
On Wed, Dec 13, 2006 at 06:05:47PM -0700, David L. Anselmi wrote:
> >*.*;auth,authpriv.none;mail.error -/var/log/syslog
>
> > 1) What am I missing here?
>
> Try mail.none rather than mail.error.
But I still want mail messages with error and worse to show up in syslog.
>From my reading of man 5 syslog.conf there is a bug in syslog, but every time
I think that about one of the more complex old-time Unix services I end up
filing what turns out to be a frivolous bug report which gets embarassing
after a while. :<
Specifically, from man 5 syslog.conf:
----
Multiple selectors may be specified for a single action using the semicolon
(``;'') separator. Remember that each selector in the selector field is
capable to overwrite the preceding ones. Using this behavior you can exclude
some priorities from the pattern.
----
So shouldn't get last "mail.error" override the previous settings for mail?
More information about the LUG
mailing list