[Logwatch-Devel] Re: Remove time from logwatch reports

Mike Tremaine mgt at stellarcore.net
Tue Feb 7 18:14:43 MST 2006


On Mon, 2006-02-06 at 08:36 +0100, John Wilcock wrote:
> Hi Mike,
> 
> Looking at this weekend's logs I see that there's another new message 
> that I missed. Here's a one-line patch to fix it. Sorry about that.
> 
> John.
> 
> plain text document attachment (mailscanner.patch)
> --- mailscanner-jw-20060203	2006-02-03 13:29:10.000000000 +0100
> +++ mailscanner	2006-02-06 08:33:01.000000000 +0100
> @@ -92,7 +92,8 @@
>           ( $ThisLine =~ m/^Using SpamAssassin results cache/ ) or
>           ( $ThisLine =~ m/^Expired .+ records from the SpamAssassin cache/ ) or
>           ( $ThisLine =~ m/^Batch processed in .+ seconds/ ) or
> -         ( $ThisLine =~ m/^\"Always Looked Up Last\" took .+ seconds/ ) 
> +         ( $ThisLine =~ m/^\"Always Looked Up Last\" took .+ seconds/ ) or
> +         ( $ThisLine =~ m/^MailScanner child dying after Bayes rebuild/ ) 
>     ) {
>        # We don't care about these
>     } elsif ( $ThisLine =~ m/New Batch: Scanning ([0-9]+) messages, ([0-9]+) bytes/i) {

Got this one in CVS also. Thanks.

I posted the newest version here if anyone doesn;t want to grab all of
cvs for this file

http://www.stellarcore.net/downloads/mailscanner

-Mike



More information about the Logwatch-Devel mailing list