SF.net SVN: logwatch:[195] scripts/services/omsa

[email protected]
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 195
          http://sourceforge.net/p/logwatch/code/195
Author:   opoplawski
Date:     2014-05-22 17:47:51 +0000 (Thu, 22 May 2014)
Log Message:
-----------
Skip informational messages

Modified Paths:
--------------
    scripts/services/omsa

Modified: scripts/services/omsa
===================================================================
--- scripts/services/omsa	2014-05-14 19:27:35 UTC (rev 194)
+++ scripts/services/omsa	2014-05-22 17:47:51 UTC (rev 195)
@@ -29,6 +29,8 @@
    if ($Message =~ /fail|disable|replace/i) {
       $ServiceError{$Service}->{$Message}++;
    } elsif (defined($Service)) {
+      # Skip informational messages if needed
+      next if (($Service == "Storage Service") and ($Message =~ /^The Patrol Read has (started|stopped)/) and ($Detail < 5));
       $ServiceMessage{$Service}->{$Message}++;
    } else {
       $OtherList{$ThisLine}++;

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


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
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.