From owner-freebsd-hackers Wed Feb 19 13:21:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA19810 for hackers-outgoing; Wed, 19 Feb 1997 13:21:21 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA19804 for ; Wed, 19 Feb 1997 13:21:11 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA16064 for hackers@FreeBSD.ORG; Wed, 19 Feb 1997 22:20:52 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.6.9) id WAA23595; Wed, 19 Feb 1997 22:11:45 +0100 (MET) Message-ID: 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? References: <199702190339.OAA09285@genesis.atrad.adelaide.edu.au> <199702191421.PAA07927@server.us.tld> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199702191421.PAA07927@server.us.tld>; from Andre Albsmeier on Feb 19, 1997 15:21:38 +0100 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)