Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2000 16:59:06 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        svga <svga@polbox.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Filtering out ipfw from /var/log/messages
Message-ID:  <20000611165906.C13693@hades.hell.gr>
In-Reply-To: <3940F65E.4571F05C@polbox.com>; from svga@polbox.com on Fri, Jun 09, 2000 at 03:51:26PM %2B0200
References:  <3940F65E.4571F05C@polbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 09, 2000 at 03:51:26PM +0200, svga wrote:
> Hello,
> 
> How to filter out messages including ipfw: which syslog sends to
> /var/log/messages?
> Something like below but working.
> *.notice;kern.debug;lpr.info;mail.crit;news.err    |exec grep -v -e
> ipfw: - >> /var/log/messages

You can try using:

	!ipfw
	*.*			/dev/null

I havent' tested it with ipfw, but it works with my pppd/ppp so far.

- Giorgos.


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?20000611165906.C13693>