Date: Sun, 16 Jan 2000 03:39:23 +0300 (MSK) From: "Vladimir B. Grebeschikov" <vova@express.ru> To: Doug White <dwhite@resnet.uoregon.edu> Cc: current@FreeBSD.ORG Subject: Re: syslogd Message-ID: <Pine.BSF.4.21.0001160337270.55196-100000@lanturn.kmost.express.ru> In-Reply-To: <Pine.BSF.4.21.0001151405020.7384-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Jan 2000, Doug White wrote: > > # log firewall messages ONLY in this file (noy in messages below) > > !!ipfw > > *.* /var/log/ipfw > > This is a bad example. ipfw messages come from the kernel so you can't > filter those. You are not right, man syslog.conf: ... Each block of lines is separated from the previous block by a tag. The tag is a line beginning with #!prog or !prog (the former is for compati- bility with the previous syslogd, if one is sharing syslog.conf files, for example) and each block will be associated with calls to syslog from > that specific program. A tag for ``foo'' will also match any message > logged by the kernel with the prefix ``foo: ''. ... it really works, try it > Doug White | FreeBSD: The Power to Serve > dwhite@resnet.uoregon.edu | www.FreeBSD.org -- TSB Russian Express, Moscow Vladimir B. Grebenschikov, vova@express.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0001160337270.55196-100000>