On 01/01/11 08:56, Damon McMahon wrote:
Greetings,

My Apple Airport Extreme wireless bridge forwards syslog messages of
the following format using facility local0 to my OpenBSD syslogd(8)
running in insecure -u mode thus:

Jan  1 13:29:53 dadsairport dadsairport admin: Connection accepted
from ::ffff:192.168.0.4/52199.
Jan  1 13:46:33 dadsairport dadsairport dot11: Installed unicast CCMP
key for supplicant 00:1e:52:72:20:06

I can direct these to a separate logfile using the following line in
syslog.conf(5):

local0.* /var/log/airport

These messages are also directed by default to /var/log/messages as
they are included in this default line of syslog.conf:

*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages

My question is how can these messages be excluded from /var/log/messages?

From my reading of the manual page, the only way to filter these
messages using base syslogd is via the program tag, and as you can see
from the above these tags vary. Is there any other way without
installing syslogd-ng from ports?

Thanks in advance for any assistance.


man syslog.conf - especially the parts about !!prog

There is an example for spamd that will be interesting for you.

Reply via email to