Ubuntu – ufw logs too much stuff, how can I disable that

logsUbuntuufw

I happen to find out that syslog.1 takes 27 Gb and the logs in it have been inserted by the firewall ufw. How can I disable or reduce logging that much stuff into syslog by ufw?

Best Answer

Ubuntu's Community Help Wiki page on UFW has information on toggling logging if you'd like to disable it completely. The man page on UFW has much better information on it, which provides more advanced options for log levels.

The quick workaround is to use the command ufw logging off to eliminate ufw logging entirely (might or might not fulfill your wishes).

Related Question