jdd wrote:
Le 05/12/2014 13:27, Carlos E. R. a écrit :
On 2014-12-05 11:25, jdd wrote:
Hello,
I have always lot of Susefirewall message in kernel logs. This makes understanding eventual problems difficult.
So I need to know how to see logs without them, either sending firewall logs in an other file or using some journalctl option to have then not displayed
With rsyslog or other syslog implementation, the firewall logs go to a different file, or can be easily made to.
not so easily, the problem always existed :-(
Really, it is very easy. I have never had the problem with my own iptables firewall. for syslog-ng: filter f_iptables { facility(kern) and message("IN=") and message("OUT="); }; destination firewall { file("/var/log/firewall" suppress(30)); }; log { source(src); source(chroots); filter(f_iptables); destination(firewall); }; filter f_messages { not facility(news, mail) and not filter(f_iptables); }; (I think these are included in the standard config). -- Per Jessen, Zürich (3.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org