[Logcheck-commits] Hannes von Haugwitz: i.d.w/kernel: ignore "usb-storage" message
Hannes von Haugwitz
hvh-guest at alioth.debian.org
Wed Mar 3 19:59:23 UTC 2010
Module: logcheck
Branch: master
Commit: b043e5e412951b1e1459d65127796f25406c32b5
URL: http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=b043e5e412951b1e1459d65127796f25406c32b5
Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date: Wed Mar 3 20:24:30 2010 +0100
i.d.w/kernel: ignore "usb-storage" message
Sample log line:
Mar 2 21:33:56 workstation kernel: [ 5218.931526] scsi4 : usb-storage 2-2:1.0
---
debian/changelog | 1 +
rulefiles/linux/ignore.d.workstation/kernel | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9c87f11..16fa240 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ logcheck (1.3.8) UNRELEASED; urgency=low
- allow '_' in id_str of CTRL-EVENT-CONNECTED message
* ignore.d.workstation/kernel:
- "Mode Sense" is hexadecimal, not just decimal
+ - ignore "usb-storage" message
[ Gerfried Fuchs ]
* debian/logcheck.NEWS, debian/logtail.NEWS:
diff --git a/rulefiles/linux/ignore.d.workstation/kernel b/rulefiles/linux/ignore.d.workstation/kernel
index 9424108..1d935fd 100644
--- a/rulefiles/linux/ignore.d.workstation/kernel
+++ b/rulefiles/linux/ignore.d.workstation/kernel
@@ -51,6 +51,7 @@
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? ieee1394: sbp2: Logged into SBP-2 device$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? ieee1394: Node [:[:digit:]\-]+ Max speed \[S[[:digit:]]+\] - Max payload \[[[:digit:]]+\]$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? scsi[[:digit:]]+ : SCSI emulation for (IEEE-1394 SBP-2 Devices|USB Mass Storage devices)$
+^[[:alpha:]]{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? scsi[[:digit:]]+ : usb-storage [0-9]-[0-9]:1\.0$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? Attached scsi removable disk sd[a-z]( at scsi[[:digit:]], channel [[:digit:]], id [[:digit:]], lun [[:digit:]])?$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [[:digit:]:]+ Attached scsi (removable )?disk sd[a-z]$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] Attached SCSI (removable )?disk$
More information about the Logcheck-commits
mailing list