Ben Beuchler <[EMAIL PROTECTED]> writes:
> I'm trying to use multilog's pattern matching to not log the non-stop
> health checks from our load balancers. This is the command line I'm
> using:
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
> s10000000 \
> -*216.243.128.254* \
> -*slb01* \
> /var/log/qmail/smtpd
> And here's the log entries I'm trying to filter out:
> @4000000039824fe91baaa634 tcpserver: pid 9376 from 216.243.128.254
> @4000000039824fe91c11535c tcpserver: ok 9376 mail.bitstream.net:216.243.128.140:25
>slb01.bitstream.net:216.243.128.254::1035
multilog filter patterns don't work like filename globs. You want:
'-* * * * * *:216.243.128.254'
instead. (There are several other ways of writing it too.)
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>