Re: netfilter logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 08, 2005 at 02:25:33PM +0100, Jimmy wrote:
> Hello,
> 
> I have just started to log my iptables drops. As seen with this line in my
> iptables-save output.
> 
> -A INPUT -j LOG --log-level 1
> -A INPUT -j LOG --log-prefix "Dropped: "
> 
> What I would like to know is how I can get iptables to NOT log to console
> only to the message logs. Currently it goes into /var/log/syslog

change your log level from 1 to something less critical; like say, 4.

and then type this on the console:

  dmesg -n 1

which will only print truly critical messages to the console (level 0
and 1).

-j

--
"Woman: Stewie, you want a cookie?
 Stewie: I smell death on you."
        --Family Guy


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux