Fwd: Patch: Ubuntu/Debian dpkg has a few extra log lines

"Kirk Bauer" <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
---------- Forwarded message ----------
From: Pat Riehecky <[email protected]>
Date: Tue, May 27, 2008 at 12:19 PM
Subject: Patch: Ubuntu/Debian dpkg has a few extra log lines
To: [email protected]


There are several log lines found in Ubuntu and Debian which are merely
informative and can be ignored for reporting.  Right now they are not
captured.  The attached patch resolves this so they are not reported
extraneously.  The modified conf files are still reported as that seems
very handy, but the notes that it was configured, initialized and
whatnot were a bit redundant.

Pat



-- 
Kirk Bauer <[email protected]>
http://linux.kaybee.org | www.logwatch.org
Author, Automating UNIX & Linux Administration

_______________________________________________
Logwatch-Devel mailing list
[email protected]
http://www2.list.logwatch.org:81/mailman/listinfo/logwatch-devel
logwatch_dpkg.diff (text/x-patch, 361 B)
--- dpkg_orig	2008-05-27 10:32:14.000000000 -0500
+++ logwatch/scripts/services/dpkg	2008-05-27 10:09:18.000000000 -0500
@@ -37,7 +37,7 @@
 		} else {
 			push @upgrade, "$pkg $ver1 => $ver2";
 		}
-	} elsif ( $line =~ /^\S+ \S+ status / ) {
+	} elsif ( $line =~ /^\S+ \S+ status|configure|startup|trigproc / ) {
 		#ignore
 	} else {
 		push @unknown, $line;
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.