kernel messages write to console even when not defined in syslog

2006-06-13 Thread Jason Aeschilman
I'm using a kernel module that sends warn (KERN_WARN ) log level messages to the console but I want them to only go to the logs. I would like only kernel messages that are log level error or higher to go to the console. So I added the following to the top of the default LFS /etc/syslog.conf

Re: kernel messages write to console even when not defined in syslog

2006-06-13 Thread Ken Moffat
On Tue, Jun 13, 2006 at 12:58:50PM -0600, Jason Aeschilman wrote: I'm using a kernel module that sends warn (KERN_WARN ) log level messages to the console but I want them to only go to the logs. I would like only kernel messages that are log level error or higher to go to the console. So

Re: kernel messages write to console even when not defined in syslog

2006-06-13 Thread Jason Aeschilman
Ken Moffat wrote: On Tue, Jun 13, 2006 at 12:58:50PM -0600, Jason Aeschilman wrote: I'm using a kernel module that sends warn (KERN_WARN ) log level messages to the console but I want them to only go to the logs. I would like only kernel messages that are log level error or higher to go to

Re: kernel messages write to console even when not defined in syslog

2006-06-13 Thread DJ Lucas
Jason Aeschilman wrote: Thanks, I'll try that. Does anyone know why putting settings like I did in /etc/syslog.conf is not doing what I expect? How do the popular distros handle this? 'echo kernel.printk=3 /etc/sysctl.conf' See 'man sysctl' for more info. --DJ Lucas --