Date: Tue, 26 Aug 2008 02:50:16 +1000 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: questions@freebsd.org Subject: diverting (some) log_in_vain messages Message-ID: <20080826022335.T14827@sola.nimnet.asn.au>
next in thread | raw e-mail | index | archive | help
Hi, I'll try reducing and rephrasing my question/s .. Which syslog facility.level is used for {tcp,udp}.log_in_vain messages? *.notice;authpriv.none;kern.debug;mail.crit;news.err;ntp.err;local0.none;ftp.none /var/log/messages [..] I'd like to parse out just the log_in_vain messages, dumping what in my circumstances is log-spamming trivia to another file, while allowing the unexpected, more interesting stuff to get to /var/log/messages as usual - or to another file if it's a problem appending /var/log/messages from syslog output piped to (say) a sh script, as well as directly as above. Any hints or howtos welcome, even RT(which?)FS, though I'm short of code reading time, what with all the dragons .. cheers, Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080826022335.T14827>