Re: syslogd and iptables
Raffaele Sandrini, 2001-Nov-09 19:13 +0100:
> Hi all,
>
> what do i have to enter to the sylog.conf to split all the iptables messages
> done by the LOG (-j LOG) target into another file than messages?
>
> cheers,
> Raffaele
> --
syslog doesn't allow this functionality. You need to replace it
with syslog-ng, which allows you to filter log messages and
direct them to specific destinations (files).
With syslog-ng, look at /etc/syslog-ng/syslog-ng.conf and you'll
figure out how to filter to match your log prefix.
jc
--
Jeff Coppock Systems Engineer
Diggin' Debian Admin and User
Reply to: