RE: I don't want the LOG be writed to /var/log/messages

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

 



> I write a line in /etc/syslog.conf:
> kern.=info
> /var/log/iptables
> 
> Now the log of iptables write to /var/log/iptables, but I found that
> the log still write in /var/log/messages, now I have 2 copies of the
> log, how can I stop the write to /var/log/messages, and only write to
> /var/log/iptables? Thanks.

If you want all iptables messages in one file, use ulogd and the ULOG
target.
http://freshmeat.net/projects/ulogd/


Gr,
Rob



[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