Koozali.org formerly Contribs.org

Empty boot.log and dmesg.log files

Offline alext

Empty boot.log and dmesg.log files
« 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)
...

Offline ReetP

  • *
  • 2,676
Re: Empty boot.log and dmesg.log files
« Reply #1 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.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation