Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 1997 08:31:03 +0900 (JST)
From:      Michael Hancock <michaelh@cet.co.jp>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        hackers@freebsd.org
Subject:   syslog filter (was Re: License to kill annoying syslog feature)
Message-ID:  <Pine.SV4.3.95.970220082640.10199B-100000@parkplace.cet.co.jp>
In-Reply-To: <Mutt.19970219221145.j@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.970220082640.10199B-100000>