logging in Leap

Hi,

I wanted to see why a CD cant be read, and did the usual
tail -f /var/log/messages
…and noticed that the file does not exist!

How is logging done in Leap?

Hi
The journalctl command… in your case;


journalctl -f

Thanks, that looks similar, but is not very verbose. It does not show when a USB-stick is inserted, or a disk.
-o verbose did not fix this…

You can show the running kernel’s log with “dmesg”, like ever.

Hi
Works here as expected?


journalctl -f
-- Logs begin at Sat 2015-12-19 19:55:13 CST. --
.....
Jan 25 18:46:08 mizz-piggy kernel: usb 7-1: new high-speed USB device number 6 using ehci-pci
Jan 25 18:46:08 mizz-piggy kernel: usb 7-1: New USB device found, idVendor=05ac, idProduct=1266
Jan 25 18:46:08 mizz-piggy kernel: usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 25 18:46:08 mizz-piggy kernel: usb 7-1: Product: iPod
Jan 25 18:46:08 mizz-piggy kernel: usb 7-1: Manufacturer: Apple Inc.
Jan 25 18:46:08 mizz-piggy kernel: usb 7-1: SerialNumber: 000A2700223178FB
Jan 25 18:46:08 mizz-piggy mtp-probe[2166]: checking bus 7, device 6: "/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-1"
Jan 25 18:46:08 mizz-piggy mtp-probe[2166]: bus: 7, device: 6 was not an MTP device
Jan 25 18:46:08 mizz-piggy kernel: usb-storage 7-1:1.0: USB Mass Storage device detected
Jan 25 18:46:08 mizz-piggy kernel: scsi host5: usb-storage 7-1:1.0
Jan 25 18:46:08 mizz-piggy kernel: usbcore: registered new interface driver usb-storage
Jan 25 18:46:08 mizz-piggy kernel: usbcore: registered new interface driver uas
Jan 25 18:46:09 mizz-piggy kernel: scsi 5:0:0:0: Direct-Access     Apple    iPod             1.70 PQ: 0 ANSI: 0
Jan 25 18:46:09 mizz-piggy kernel: sd 5:0:0:0: Attached scsi generic sg2 type 0
Jan 25 18:46:09 mizz-piggy kernel: sd 5:0:0:0: [sdb] Spinning up disk...
Jan 25 18:46:11 mizz-piggy kernel: .ready
Jan 25 18:46:11 mizz-piggy kernel: sd 5:0:0:0: [sdb] 1926080 4096-byte logical blocks: (7.70 GB/7.34 GiB)
Jan 25 18:46:11 mizz-piggy kernel: sd 5:0:0:0: [sdb] Write Protect is off
Jan 25 18:46:11 mizz-piggy kernel: sd 5:0:0:0: [sdb] Mode Sense: 68 00 00 08
Jan 25 18:46:11 mizz-piggy kernel: sd 5:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jan 25 18:46:11 mizz-piggy kernel: sd 5:0:0:0: [sdb] 1926080 4096-byte logical blocks: (7.70 GB/7.34 GiB)
Jan 25 18:46:11 mizz-piggy kernel:  sdb: sdb1
Jan 25 18:46:11 mizz-piggy kernel: sd 5:0:0:0: [sdb] 1926080 4096-byte logical blocks: (7.70 GB/7.34 GiB)
Jan 25 18:46:11 mizz-piggy kernel: sd 5:0:0:0: [sdb] Attached SCSI removable disk
Jan 25 18:46:11 mizz-piggy udisksd[1413]: Mounted /dev/sdb1 at /run/media/malcolml/PAULA'S IPO on behalf of uid 1000
Jan 25 18:46:11 mizz-piggy org.gtk.Private.UDisks2VolumeMonitor[1310]: disc.c:332: error opening file BDMV/index.bdmv
Jan 25 18:46:11 mizz-piggy org.gtk.Private.UDisks2VolumeMonitor[1310]: disc.c:332: error opening file BDMV/BACKUP/index.bdmv

You can use

dmesg --follow

For udev monitoring…

udevadm monitor