SF.net SVN: logwatch:[81] scripts/services/kernel

[email protected]
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 81
          http://logwatch.svn.sourceforge.net/logwatch/?rev=81&view=rev
Author:   opoplawski
Date:     2012-01-18 16:30:58 +0000 (Wed, 18 Jan 2012)
Log Message:
-----------
Limit EDAC messages to MC/PCI

Modified Paths:
--------------
    scripts/services/kernel

Modified: scripts/services/kernel
===================================================================
--- scripts/services/kernel	2012-01-18 16:12:50 UTC (rev 80)
+++ scripts/services/kernel	2012-01-18 16:30:58 UTC (rev 81)
@@ -99,7 +99,9 @@
       $FPAssists{$1}++;
    } elsif ($ThisLine =~ /Out of memory: Killed process \d+ \((.*)\)/) {
       $OOM{$1}++;
-   } elsif ($ThisLine =~ /(EDAC .*)/) {
+   } elsif ($ThisLine =~ /(EDAC (MC|PCI)\d:.*)/) {
+      # Standard boot messages
+      next if $ThisLine =~ /Giving out device to /;
       $EDACs{$1}++;
    } elsif ( ( my $errormsg ) = ( $ThisLine =~ /(.*?[Ee]rror.{0,17})/ ) ) {
       # filter out smb open/read errors cased by insufficient permissions

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


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.