Make it possible to use ULOG instead of LOG
Bug #555852 reported by
Andrew Pollock
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw (Ubuntu) |
Won't Fix
|
Wishlist
|
Jamie Strandboge |
Bug Description
Binary package hint: ufw
This is related to bug #244232 I guess.
I dislike using the LOG target, as it pollutes the dmesg output and kern.log. I prefer to use ULOG, as this causes the logged messages to go to /var/log/
Please add a configuration option or configuration file option to generate the Netfilter rules with the ULOG target instead of the LOG target.
Related branches
Changed in ufw (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Jamie Strandboge (jdstrand) |
To post a comment you must log in.
ULOG would be nice, though I might point out ufw 0.30 in Ubuntu 10.04 ships with an rsyslog file for separating this out and it automatically logs to /var/log/ufw.log. rsyslog is the default syslog daemon in 10.04. For backwards compatibility, ufw continues to log to kern, but this can be changed in /etc/rsyslog. d/20-ufw. conf:
# Log kernel generated UFW log messages to file
:msg,contains,"[UFW " /var/log/ufw.log
# Uncomment the following to stop logging anything that matches the last rule.
# Doing this will stop logging kernel generated UFW log messages to the file
# normally containing kern.* messages (eg, /var/log/kern.log)
#& ~