on ubuntu 11.04, why isn't rsyslog logging my kernel msgs?

Robert P. J. Day rpjday at crashcourse.ca
Wed Aug 10 16:42:10 UTC 2011


  probably something stupid i'm doing but on my 64-bit ubuntu 11.04
system, i'm loading kernel modules that print simple strings using
printk() but nothing is showing up in /var/log/kern.log.

  i've verified that rsyslog is running, and here's the salient bit
from /etc/rsyslog.d/50-default.conf:

  kern.*                          -/var/log/kern.log

which i've always understood is to send all kern-level messages to
that log file, but nothing shows up.

  i've even used "logger" to try to send a message like that:

$ logger -p kern.info "hi there"

but, still, nothing.

  i've read in a couple places that going back to syslog-ng will fix
things, but i'd still like to know what i'm doing wrong.  thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the ubuntu-users mailing list