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

Re: Can i make the firewall write the logs in another files?



On 2001-06-30, Kent Nyberg wrote:

>
>I am one of those 'super-paranoid'-people so i made a little firewall
>today. The thing is that i would realy like if the fireall would write
>the logs to another file instead of the default /var/log/messages.
>A file like /var/log/firewall would be very nice!
>Is this possible to do?
>
>I dont like the /var/log/messages since it gets so big..   it would be
>better to have ONE file for the firewall!

The first thing that comes to my mind is to split /var/log/messages
into different log level priorities (see man 5 syslog.conf).
Iptables understands a --log-level option which you can use to log
on a different level, e.g. --log-level alert.



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





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