SF.net SVN: logwatch:[293] trunk/scripts/services/dovecot

[email protected] Fri, 27 Mar 2015 16:01:36 +0000
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 293
          http://sourceforge.net/p/logwatch/code/293
Author:   opoplawski
Date:     2015-03-27 16:01:35 +0000 (Fri, 27 Mar 2015)
Log Message:
-----------
[dovecot] Handle log lines with pid - thanks to Wolfgang Mueller

Modified Paths:
--------------
    trunk/scripts/services/dovecot

Modified: trunk/scripts/services/dovecot
===================================================================
--- trunk/scripts/services/dovecot	2015-03-27 15:35:48 UTC (rev 292)
+++ trunk/scripts/services/dovecot	2015-03-27 16:01:35 UTC (rev 293)
@@ -130,7 +130,7 @@
 }
 
 # Handle "dovecot: <svc>" and "dovecot: [ID yyyyy mail.info] <svc"
-my $dovecottag = qr/dovecot:(?:\s*\[[^]]+\])?/;
+my $dovecottag = qr/dovecot(?:\[\d+\])?:(?:\s*\[[^]]+\])?/;
 
 while (defined($ThisLine = <STDIN>)) {
      # remove timestamp.  We can't use *RemoveHeaders because we need the

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/