Package: sysklogd
Version: 1.4.1-18
Severity: minor

>From the man page:

----
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.
----

If this were strictly true, then:

*.*;auth,authpriv.none;mail.error     -/var/log/syslog

would cause only mail messages >= error to be logged to this file.  I
finally got some help from the local LUG, and I have learned that some
priority rules are additive and some are subtractive.  So above I am
really just adding to what is already available.  In fact, I apparently
needed to use subtractive rules, either:

*.*;auth,authpriv.none;mail.none;mail.error     -/var/log/syslog

or 

*.*;auth,authpriv.none;mail.!error     -/var/log/syslog

This is not at all clear in the man page.  I suggest this replacement
for the above paragraph:

----
Multiple  selectors  may be specified for a single action using the
semicolon (``;'') separator.  Each selector in the selector field is
capable of overwriting the preceding ones.  In this regard, some
selectors are additive and some are subtractive.  The forms
facility.priority and facility.=priority will add to what goes to the
action, and the forms facility.none and facility.!priority will subtract
from what goes to the action.  Using this behavior you can include and
exclude priorities from the pattern.
----

Actually, I'm not sure if the above paragraph is correct, because it
isn't clear to me from the man page whether =priority is additive or
subtractive.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sysklogd depends on:
ii  klogd [linux-kernel-log-daem 1.4.1-18    Kernel Logging Daemon
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries

sysklogd recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to