You're right, sometimes the plug/unplug gets recorded in syslog,
sometimes doesn't.

USB thumbdrive plugged, dmesg:
[74543.280021] usb 1-3: new high speed USB device using ehci_hcd and address 8
[74543.434198] usb 1-3: configuration #1 chosen from 1 choice
[74543.437453] scsi8 : SCSI emulation for USB Mass Storage devices
[74543.438016] usb-storage: device found at 8
[74543.438020] usb-storage: waiting for device to settle before scanning
[74548.430169] usb-storage: device scan complete
[74548.432272] scsi 8:0:0:0: Direct-Access     PEAK III Flash Drive      0.00 
PQ: 0 ANSI: 2
[74548.432801] sd 8:0:0:0: Attached scsi generic sg4 type 0
[74548.436480] sd 8:0:0:0: [sdc] 8060927 512-byte logical blocks: (4.12 GB/3.84 
GiB)
[74548.438129] sd 8:0:0:0: [sdc] Write Protect is off
[74548.438133] sd 8:0:0:0: [sdc] Mode Sense: 00 00 00 00
[74548.438136] sd 8:0:0:0: [sdc] Assuming drive cache: write through
[74548.441129] sd 8:0:0:0: [sdc] Assuming drive cache: write through
[74548.441136]  sdc: sdc1
[74548.552148] sd 8:0:0:0: [sdc] Assuming drive cache: write through
[74548.552154] sd 8:0:0:0: [sdc] Attached SCSI removable disk

USB thumbdrive plugged, syslog:
Oct 13 21:36:16 grid kernel: [74543.280021] usb 1-3: new high speed USB device 
using ehci_hcd and address 8
Oct 13 21:36:16 grid kernel: [74543.434198] usb 1-3: configuration #1 chosen 
from 1 choice
Oct 13 21:36:16 grid kernel: [74543.437453] scsi8 : SCSI emulation for USB Mass 
Storage devices
Oct 13 21:36:16 grid kernel: [74543.438016] usb-storage: device found at 8
Oct 13 21:36:16 grid kernel: [74543.438020] usb-storage: waiting for device to 
settle before scanning
Oct 13 21:36:16 grid kernel: [74548.430169] usb-storage: device scan complete
Oct 13 21:36:16 grid kernel: [74548.432272] scsi 8:0:0:0: Direct-Access     
PEAK III Flash Drive      0.00 PQ: 0 ANSI: 2
Oct 13 21:36:16 grid kernel: [74548.432801] sd 8:0:0:0: Attached scsi generic 
sg4 type 0
Oct 13 21:36:16 grid kernel: [74548.436480] sd 8:0:0:0: [sdc] 8060927 512-byte 
logical blocks: (4.12 GB/3.84 GiB)
Oct 13 21:36:16 grid kernel: [74548.438129] sd 8:0:0:0: [sdc] Write Protect is 
off
Oct 13 21:36:16 grid kernel: [74548.438133] sd 8:0:0:0: [sdc] Mode Sense: 00 00 
00 00
Oct 13 21:36:16 grid kernel: [74548.438136] sd 8:0:0:0: [sdc] Assuming drive 
cache: write through
Oct 13 21:36:16 grid kernel: [74548.441129] sd 8:0:0:0: [sdc] Assuming drive 
cache: write through
Oct 13 21:36:16 grid kernel: [74548.441136]  sdc: sdc1
Oct 13 21:36:16 grid kernel: [74548.552148] sd 8:0:0:0: [sdc] Assuming drive 
cache: write through
<-the line at  [74548.552154] wasn't recorded

USB thumbdrive unplugged, dmesg:
[74569.766475] usb 1-3: USB disconnect, address 8

USB, thumbdrive unplugged, syslog (launched "logger -- --MARK--" a couple of 
seconds after):
nothing
Oct 13 21:37:22 grid brownout: --MARK--

-- 
rsyslog ignores iptables LOG targets
https://bugs.launchpad.net/bugs/450002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to