Logging outside /var/log/messages...

Marc Haber netfilter.lists.samba.org@marc-haber.de
Fri, 29 Mar 2002 10:19:10 +0100


On Thu, 28 Mar 2002 17:12:14 +0200, Dan Terhesiu <dante@astral.ro>
wrote:
>I dont' know either how to log iptables messages on separate file. I =
guess it's
>not posible unless there is another level in syslogd specially for =
iptables. But
>maybe I'm wrong here.

You could use a different syslogd, for example syslog-ng, which allows
you to have log entries matching a given regexp into a different log
file.

Greetings
Marc

--=20
-------------------------------------- !! No courtesy copies, please !! =
-----
Marc Haber          |   " Questions are the         | Mailadresse im =
Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32=
 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31=
 29