- 96 Views
- 06/11/2025
How to disable log on csf firewall
Here’s a complete and safe way to disable or reduce logging in CSF (ConfigServer Security & Firewall) — depending on whether you want to turn off all logs or just limit noisy ones.
1. Main config file location
All CSF logging options are controlled in:
/etc/csf/csf.conf
Open it for editing:
sudo nano /etc/csf/csf.conf
2. Common log settings to disable / reduce
Search for these parameters and change them:
After editing:
csf -r # reload CSF
systemctl restart lfd
systemctl restart lfd
4. Optional: clear existing CSF logs
