Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2000 23:57:33 -0700
From:      "Charles Mauch" <cpm@yoonax.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Filtering syslogd messages
Message-ID:  <NDBBJECCALJAGLIEMPKIOENDCMAA.cpm@yoonax.net>

next in thread | raw e-mail | index | archive | help
I've been toying with syslogd trying to seperate my logfiles to keep better track of
what's going on.  For example, to log all my mail events, i use the following lines...

!pop3d
*.info		/var/log/maillog.log
mail.*		/var/log/maillog.log

however, all pop3d (for example) messages still show up in /var/log/messages which looks
like...

*.info;mail.none;......

which is logging everything with a *.info or greater flag, but not anything with
associated with the mail service.   Is there a way to filter out application specific
messages from a log?  Another application (for me) would be the ability to seperate out
ipfw logging to a seperate file without logging it to to the /var/log/messages...

Ideas?

Charles Mauch
---
Email:         cpm@yoonax.net / Finger for PGP Public key
PGP Fingerprint: B02C B98B 02A5 3D76  8C74 B24F 9279 337C




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBJECCALJAGLIEMPKIOENDCMAA.cpm>