Hi all,

I'm using CENTOS7 and I've been trying to get my KERN_DEBUG messages into a
log file (/var/log/kern.log), so I've added a file to rsyslog.d that just
has this one line in it:
---
kern.=debug /var/log/kern.log
---

After restarting rsyslog and loading a "hello world" type module, I still
don't get anything in that file (or /var/log/messages, since it only seems
to show KERN_INFO, etc...). I've even tried creating the file manually,
ensuring permissions and SELinux contexts matched other stuff in /var/log.

I then decided to run rsyslog with debug mode (plain old "rsyslogd -dn") to
see if rsyslog was getting tickled when I loaded my module. Sure enough, it
was. However, I cannot understand the debug output.

The output is included in this pastebin:
http://pastebin.com/wFdt7xYr

Can anyone help me interpret the debugging output or what I'm doing wrong?

Thanks!
--Zak
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to