[CentOS] LogIPTABLES

Mark Weaver mdw1982 at mdw1982.com
Fri Mar 3 17:17:03 UTC 2006


Adriano Frare wrote:
> Dear Friends,
> 
> How I redirect messages of screen to file on IPTABLES ?
> 
> 
> Thanks
> 
> 
> Adriano

In the file /etc/syslog.conf see that this line appears there:

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
kern.*                          /var/log/messages

That will place all log messages for the kernel into the file 
/var/log/messages.

-- 
Mark



More information about the CentOS mailing list