Forum
[IDEA] dmesg saved to /var/log - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: [IDEA] dmesg saved to /var/log (/thread-2264.html)



dmesg saved to /var/log - IriDium - 2nd May, 2014 01:47 AM

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?


RE: dmesg saved to /var/log - CurlyMo - 2nd May, 2014 03:09 AM

The *.0 *.x.gz is done by a separate program called logrotate.

I believe dmesg is currently stored in /var/log/syslog.


RE: dmesg saved to /var/log - menakite - 2nd May, 2014 03:45 AM

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)