Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: alext on October 22, 2020, 05:10:34 PM

Title: Empty boot.log and dmesg.log files
Post by: alext on October 22, 2020, 05:10:34 PM
Looking at /var/log/boot.log and dmesg.log I find that both logs are empty.
This is also reported when using the SME Server Manager > View Log Files command.
Is there an option to turn on boot logging?

Thanks

(SME server 9.2)
Title: Re: Empty boot.log and dmesg.log files
Post by: ReetP on October 22, 2020, 05:30:16 PM
Is there an option to turn on boot logging?
(SME server 9.2)

dmesg is not a normal log.

https://www.linuxnix.com/what-is-linuxunix-dmesg-command-and-how-to-use-it/

You can view the latest contents by simply typing
Code: [Select]
dmesg
If you want to view boot logs then look in /var/log/messages - they should be in there.

I think the /var/log/boot.log is an anachronism and looks like it was deprecated.

You can read the various links/bugs here:
https://forums.centos.org/viewtopic.php?t=17313

The references should probably be removed.