Default syslog level from -j LOG
Hi,
I'm trying to get all the iptables log messages out of /var/log/messages in a Centos 4.4 server.
I tryied using this config in iptables and syslog and it still gets into /var/log/messages
# iptables -j LOG --log-level crit
in /etc/syslog.conf
------------------------------------------
kern.crit /var/log/critical
kern.none;.... /var/log/messages
# have no other call to kern o crit in syslog.conf ------------------------------------------
Any help is welcomed
Thanks
Oliver
Signature · 2 lines
Oliver Schulze L. | Get my e-mail after a captcha in: Asuncion - Paraguay | http://tinymailto.com/oliver
I forget to explicitly ask:
what is the default syslog level for the LOG target?
Thanks
Oliver
Signature · 2 lines
Oliver Schulze L. | Get my e-mail after a captcha in: Asuncion - Paraguay | http://tinymailto.com/oliver
Hello,
Quoted 1 line · Oliver Schulze L.
what is the default syslog level for the LOG target?
You should file a bug report against CentOS for providing a broken manpage for iptables. Mine says :
--log-level level
Level of logging (numeric or see syslog.conf(5)). The default level is warning.
I have an old iptables I think (iptables v1.2.11):
--log-level level
Level of logging (numeric or see syslog.conf(5)).
Thanks!
Oliver
Quoted 5 lines · Pascal Hambourg
--log-level level
Level of logging (numeric or seesyslog.conf(5)). The default level is warning.
Signature · 2 lines
Oliver Schulze L. | Get my e-mail after a captcha in: Asuncion - Paraguay | http://tinymailto.com/oliver