Results 1 to 6 of 6

Thread: logging in Leap

  1. #1
    Join Date
    Jun 2008
    Location
    Düsseldorf/Germany
    Posts
    273

    Default 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?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,493
    Blog Entries
    15

    Default Re: logging in Leap

    Quote Originally Posted by DocB View Post
    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;
    Code:
    journalctl -f
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jun 2008
    Location
    Düsseldorf/Germany
    Posts
    273

    Default Re: logging in Leap

    Quote Originally Posted by malcolmlewis View Post
    Hi
    The journalctl command... in your case;
    Code:
    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...

  4. #4

    Default Re: logging in Leap

    Quote Originally Posted by DocB View Post
    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.

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    30,493
    Blog Entries
    15

    Default Re: logging in Leap

    Quote Originally Posted by DocB View Post
    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...
    Hi
    Works here as expected?
    Code:
    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
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,643
    Blog Entries
    1

    Default Re: logging in Leap

    Quote Originally Posted by DocB View Post
    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 use
    Code:
    dmesg --follow
    For udev monitoring...
    Code:
    udevadm monitor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •