Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[IDEA] dmesg saved to /var/log
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Idea: dmesg saved to /var/log
2nd May, 2014, 01:47 AM
Post: #1
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
dmesg saved to /var/log
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?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
2nd May, 2014, 03:09 AM
Post: #2
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: dmesg saved to /var/log
The *.0 *.x.gz is done by a separate program called logrotate.

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

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
2nd May, 2014, 03:45 AM
Post: #3
menakite Offline
Management
******
Posts: 175
Joined: Apr 2014
Reputation: 27
RE: dmesg saved to /var/log
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)
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 07:01 AM Powered By MyBB, © 2002-2025 MyBB Group.