[Logwatch] ignore.conf formatting question
mgt at stellarcore.net
Mon Apr 17 08:10:09 MST 2006
On Mon, 2006-04-17 at 10:02 -0500, Michael Weber wrote:
> I have the following line in my /etc/logwatch/conf/services/ignore.conf file.
> /1 packet to udp/
> What I want is to ignore all the logwatch output lines that look like this:
> From 184.108.40.206 - 1 packet to udp(1026)
> What do I need in that file?
1 packet to udp
[No need to use / /, whatever is on a line alone gets pushed into a
matching regex that is like so $logline =~ m/$ignore/; ]
More information about the Logwatch