Tuesday, April 27, 2004

Logging

A couple of ways to see the messages from your system:




  1. The dmesg command. This will dump the messages you see at start up. You'll probably need to pipe it through less to see all of it:

    $ dmesg | less

  2. Check out the /var/log folder. Lots of interesting log files in there, including various dmesg.* ones.

  3. Edit /etc/syslog.conf and uncomment the line to create /var/log/console.log. This way you'll even get any automagically run fsck and such.




No comments:

Post a Comment