From owner-freebsd-hackers Wed Feb 19 15:31:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA25935 for hackers-outgoing; Wed, 19 Feb 1997 15:31:29 -0800 (PST) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA25930 for ; Wed, 19 Feb 1997 15:31:25 -0800 (PST) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.8.5/CET-v2.1) with SMTP id XAA10261; Wed, 19 Feb 1997 23:31:03 GMT Date: Thu, 20 Feb 1997 08:31:03 +0900 (JST) From: Michael Hancock To: Joerg Wunsch cc: hackers@freebsd.org Subject: syslog filter (was Re: License to kill annoying syslog feature) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This is very cool. I wish I had this for some of the SunOS sites we're nursing too. Will this make it into 2.2? Regards, Mike Hancock On Wed, 19 Feb 1997, J Wunsch wrote: > As Andre Albsmeier wrote: > > > I am very happy with the IRIX 5.3 syslog. It supports the syntax > > > > *.debug;kern.none;user.none |/var/syslog/log-filter /var/syslog/all > > > > which pipes all messages through /var/syslog/log-filter and this script > > decides what to do with them. > > I've got something like this in the queue. I needed it for a > customer's site, and it's currently in ``burn-in'' test there. It > revealed a couple of bugs and brain-o's, as soon as i've got it > working reliably there (i think i must be close now), i'll commit it > to the tree. > > Unlike IRIX (i think), i'm feeding the argument of the ``|'' operator > into system(3), so you are fairly free what you're gonna do there. If > you don't like this, simply make it ``|exec /var/syslog/log-filter''. > > -- > cheers, J"org