[CentOS] getting iptables log out of /var/log/messages

Tue Apr 10 00:24:05 UTC 2007
Oliver Schulze L. <oliver at samera.com.py>

Hi Andrew,
thanks for the comments.

Before that I was using the crit level and it was reported correctly as 
the warn level
by iptables -L -nv|grep LOG

Oliver

Andrew Bogecho wrote:
>
> Hi,
>
> Have you tried using a number as a value?
>
> #define LOG_EMERG       0       /* system is unusable */
> #define LOG_ALERT       1       /* action must be taken immediately */
> #define LOG_CRIT        2       /* critical conditions */
> #define LOG_ERR         3       /* error conditions */
> #define LOG_WARNING     4       /* warning conditions */
> #define LOG_NOTICE      5       /* normal but significant condition */
> #define LOG_INFO        6       /* informational */
> #define LOG_DEBUG       7       /* debug-level messages */
>
> The man page for syslog.conf mentions:
>
> The keywords error, warn and panic are deprecated and should not be used
> anymore.
>
> Hope that helps.
>
> A.
>   
>

-- 
Oliver Schulze L.   | Get my e-mail after a captcha in:
Asuncion - Paraguay | http://tinymailto.com/oliver