Forum

Full Version: dmesg saved to /var/log
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Debian seems to be able to save dmesg in /var/log as dmesg, dmesg.0 dmesg.x.gz however in RPi this is not functioning.

Is this possible?

To store dmesg output would assist debugging immensely!!

Any idea why this function id not incorporated?
The *.0 *.x.gz is done by a separate program called logrotate.

I believe dmesg is currently stored in /var/log/syslog.
The "bootlogs" init script saves dmesg output to /var/log/dmesg.

This is the Debian default:
Code:
sudo update-rc.d bootlogs start 70 1 2 3 4 5 .
(ends with a dot)
Reference URL's