How can I disable the logging of iptables to the console?

To permanently disable all low level kernel messages (iptables etc) from flooding the console do the following changes (as root):

Edit the file /etc/sysctl.conf Add the following line:
kernel.printk = 4 1 1 7
The above changes will be effective at reboot or immediately using the following command:
# /sbin/sysctl -p /etc/sysctl.conf
To make the changes only temporarily:
# echo "4 1 1 7" > /proc/sys/kernel/printk
You can check the current setting with:
# cat /proc/sys/kernel/printk
  • firewall, logging
  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Can I use Juggernaut Firewall to block Wordpress bruteforce attacks?

Yes we support blocking attacks like these very easily. See the howto for how to enable a custom...

How can I fix the error: The domain limit of this license key has been reached?

The admin and pro versions of our products are limited to the number of domains you can have in...

How can I disable the firewall from the command line?

You can disable and enable the firewall from the command line using the following commands:To...

I get the a 502 gateway error when clicking on the application. How can I fix this?

This can usually be fixed by just restarting the Plesk interface:/etc/init.d/psa restart

How can I fix the error: Class 'pm_Context' not found (Loader.php:32)

Jugggernaut 2.XThis is fixed in Juggernaut 2.0+. If using Juggernaut 1.X then we recommmend that...