pr_info not printing message in /var/log/messages

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue Feb 5 16:18:07 EST 2013


On Wed, 06 Feb 2013 04:43:20 +0800, Jimmy Pan said:

> in fact, i've been always wondering what is the relationship between dmesg
> and /var/log/message. they diverse a lot...

What ends up in /var/log/message is some subset (possibly 100%, possibly 0%)
of what's in dmesg.  Where your syslog daemon routes stuff is a local config
issue - if your syslogd supports it, there's no reason not to dump the iptables
messages in to /var/log/firewall and the rest of it in /var/log/kernel, or
any other policy that makes sense for the sysadmin....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130205/83d9cd90/attachment.bin 


More information about the Kernelnewbies mailing list