when I use LOG action in some chane of iptables rules, I get the output both in STDOUT or STDERR of the xm console and in /var/log/messages.
Is there way to make iptables to write only to log without writing to console?
Thank you for ahead.
|
feedback
|
|
Pursuant to Sirex's answer, you can suppress syslog output to the console from all programs with | |||
|
feedback
|
|
change the logged level of the iptables rule to "info". for example: /usr/sbin/iptables -A INPUT -j LOG --log-prefix "FIREWALL:INPUT " --log-level info | |||||
feedback
|
|
You can try to redirect
| |||||||||||
feedback
|