Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 1997 22:11:45 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        hackers@FreeBSD.ORG
Subject:   Re: License to kill annoying syslog feature?
Message-ID:  <Mutt.19970219221145.j@uriah.heep.sax.de>
In-Reply-To: <199702191421.PAA07927@server.us.tld>; from Andre Albsmeier on Feb 19, 1997 15:21:38 %2B0100
References:  <199702190339.OAA09285@genesis.atrad.adelaide.edu.au> <199702191421.PAA07927@server.us.tld>

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

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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