SF.net SVN: logwatch:[230] scripts/services/fetchmail

[email protected] Tue, 9 Sep 2014 12:30:38 +0000
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 230
          http://sourceforge.net/p/logwatch/code/230
Author:   stefjakobs
Date:     2014-09-09 12:30:37 +0000 (Tue, 09 Sep 2014)
Log Message:
-----------
fetchmail: handle logs with keep option

Modified Paths:
--------------
    scripts/services/fetchmail

Modified: scripts/services/fetchmail
===================================================================
--- scripts/services/fetchmail	2014-09-09 12:12:49 UTC (rev 229)
+++ scripts/services/fetchmail	2014-09-09 12:30:37 UTC (rev 230)
@@ -51,6 +51,8 @@
       $conn_fail{"${1} -- ${2}"}++;
    } elsif($ThisLine =~ s/^(\d+) messages? for (\S+) at (\S+).*.//) {
       $messages_for{"${2} at ${3}"} += $1;
+   } elsif($ThisLine =~ s/^(\d+) messages? \((\d+) seen\) for (\S+) at (\S+).*.//) {
+      $messages_for{"${3} at ${4}"} += ($1-$2);
    } else {
       chomp($ThisLine);
       # Report any unmatched entries...

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


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk