[plug] iptables console logging
Tony Breeds
magni at plug.linux.org.au
Fri May 16 14:28:54 WST 2003
On Fri, May 16, 2003 at 01:24:57PM +0800, Ryan wrote:
> "-c 4" for klogd and using 'warn' for the LOG target. This stops the
> messages but they also stop appearing in /var/log/messages
Revert that change.
> Adding kern.debug /var/log/iptables to syslog.conf and using a 'debug'
> LOG target. This stops them, but nothing appears in /var/log/iptables
>
> Swearing at it a lot. This hasn't had any effect bar a few passing
> stares.
>
> Normally I wouldn't care but I'm doing a lot of devel work locally on a
> few boxes and I can't put up with the console flooding.
>
> It doesn't matter how many times I read the syslogd documentation and
> config files, they make less and less sense each time I do.
>
> Anyone got a solution?
echo 4 > /proc/sys/kernel/printk
(add the appropriate line to /etc/sysctrl.conf to make it perminant)
Yet another abuse of /proc!
Yours Tony
Linux.Conf.AU http://lca2004.linux.org.au/
Jan 12-17 2004 The Australian Linux Technical Conference!
More information about the plug
mailing list