Quote:
Originally Posted by ReaperX7
Are there any good ways to reduce or redirect the kernel iptables output logs from the console to a log file? I want to try and trim down the kernel output somewhat.
|
I'm not entirely sure what you are after (is this iptables specific or are you talking about other kernel messages as well). I'm going to assume you talk about the messages that occasionally appear in the console.
These are generated by klogd. The default log level of console messages can be adjusted to overcome this (see klogd manual page, the -c option).
Using
-c 3 will be a safe setting, this way you are only informed of kernel errors (or worse).
Add this option to the
start_daemon /sbin/klogd line in the
/etc/rc.d/init.d/sysklogd script.