How can I make ufw log only to a specific log file, such as "/var/log/ufw.log"?
The ufw man page says "Logged packets use the LOG_KERN syslog facility." This seems to redundantly fill up "/var/log/ufw.log", /var/log/kern.log and /var/log/messages with identical ufw log entries. I have ufw logging set to low. There doesn't seem to be any more log configuration options, either via the ufw command line or the handful of ufw configuration files I found.
Bookmarks