Fwd: improvements to dpkg filter
Kirk Bauer <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
------------------------------------------------------ Kirk Bauer <[email protected]> http://linux.kaybee.org | www.logwatch.org Author, Automating UNIX & Linux Administration ---------- Forwarded message ---------- From: Kees Cook <[email protected]> Date: Sun, Jan 25, 2009 at 11:31 AM Subject: improvements to dpkg filter To: [email protected] Hello, This add more things to be ignored during dpkg logging output. Thanks! -Kees -- Kees Cook @outflux.net _______________________________________________ Logwatch-Devel mailing list [email protected] http://www2.list.logwatch.org:81/mailman/listinfo/logwatch-devel
dpkg-ignore.patch
(text/x-diff, 370 B)
--- scripts/services/dpkg.orig 2009-01-25 10:29:33.000000000 -0800
+++ scripts/services/dpkg 2009-01-25 10:28:35.000000000 -0800
@@ -57,7 +57,7 @@
} else {
push @upgrade, "$pkg $ver1 => $ver2";
}
- } elsif ( $line =~ /^\S+ \S+ status / ) {
+ } elsif ( $line =~ /^\S+ \S+ (status|startup|trigproc|configure) / ) {
#ignore
} else {
push @unknown, $line;