UFW AUDIT logged into kern.log
Asked by
Ken Ulrich
Hello,
I know that I can disable the logging the kern.log/dmesg file, but that is not what I want. I want to enable full logging, and all log entries go to the /var/log/ufw.log file.
However, I am still seeing UFW AUDIT being sent to the kern.log.
I created the following entry in the /etc/rsyslog.
# Log kernel generated UFW log messages to file
:msg,contains,"[UFW " /var/log/ufw.log
:msg,contains,"[UFW AUDIT]" /var/log/ufw.log
I've removed the "20-.." file that UFW automatically created from the equation as well.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu ufw Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ken Ulrich for more information if necessary.
To post a message you must log in.