Pulled my hair out the other day looking for the klogd settings that  would turn off low-level messages to the console, like dropped firewall  packets.  In Lenny, there is a line that is commented out in  /etc/sysctl.conf that looks like
Remove the #, run sysctl -p to make the kernel read the file again, and no more ‘warn’ level messages dumped to the console. You could do something in rsyslog.conf to send all of the messages to a tty that’s not being used if you really wanted to have access to them on a console, but I like log files instead.
kernel.printk = 4 4 1 7
Remove the #, run sysctl -p to make the kernel read the file again, and no more ‘warn’ level messages dumped to the console. You could do something in rsyslog.conf to send all of the messages to a tty that’s not being used if you really wanted to have access to them on a console, but I like log files instead.
 
No comments:
Post a Comment