Blob Blame History Raw
Fix timestamp misparsing (caused by commit in svn r.125).

Author: Jan Synacek <jsynacek@redhat.com>
RH-Bugzilla: #886193

--- logwatch-svn127/scripts/services/dovecot.orig	2013-01-11 11:15:10.000000000 +0100
+++ logwatch-svn127/scripts/services/dovecot	2013-01-14 10:17:54.347703271 +0100
@@ -135,7 +135,7 @@ my $dovecottag = qr/dovecot:(?:\s*\[[^]]
 while (defined($ThisLine = <STDIN>)) {
      # remove timestamp.  We can't use *RemoveHeaders because we need the
      # service name
-     $ThisLine =~ s/^\w{3} .\d \d\d:\d\d:\d\d //;
+     $ThisLine =~ s/^\w{3} .\d \d\d:\d\d:\d\d (?:[^\s:]* |)//;
      if ( ($ThisLine =~ /(?:ssl-build-param|ssl-params): SSL parameters regeneration completed/) or
           ($ThisLine =~ /ssl-params: Generating SSL parameters/) or
           ($ThisLine =~ /auth-worker/) or