Re: loggin with iptables, syslog problem
On Wed, Aug 27, 2003 at 10:17:34PM +0200, Rudy Gevaert wrote:
> Hello,
>
> I have the following entry:
> LOG all -- anywhere anywhere limit: avg 3/hour burst 5 LOG level debug prefix `IPT INPUT packet died: '
>
> and the following thing in syslog.conf
>
> ahmed:/var/log# more /etc/syslog.conf | grep kern
> kern.* -/var/log/kern.log
> kern.debug /var/log/iptables
>
> But nothing gets logged to /var/log/iptabels... It does show in
> dmesg...
> How can I correctly redirect logs with level "debug" to the
> /var/log/iptables file?
>
kern.=debug -/var/log/iptables.log
works here.
--
xavier
Reply to: