Date: Wed, 19 Feb 1997 14:09:33 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: hackers@freebsd.org Subject: License to kill annoying syslog feature? Message-ID: <199702190339.OAA09285@genesis.atrad.adelaide.edu.au>
next in thread | raw e-mail | index | archive | help
If I have a syslog.conf fragment like : ! *.notice /var/log/messages !zog * /var/log/zog.log And the 'zog' programs logs something at *.notice, the log message ends up in both places. This is a _spectacular_ pain in the ass with things like socks, which are odiously verbose. (And some of our own software, but I have a brick waiting for the pleb responsible for that problem, so we can ignore it here.) I'd like to know what people think about a couple of possibilities : 1) Only log stuff to the 'wildcard' file entry if it hasn't matched another rule already. or 2) Add another meta-config entry like !, say %, which implies that log messages from the named program will _only_ be processed according to the following rule(s). Of the two, 1) is likely to have the traditionalists unhappy but introduces fewer platform incompatabilities. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702190339.OAA09285>