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.