Package: ufw
Version: 0.33-2
Severity: minor
Tags: patch

Hello,

The following explanation is included in /etc/rsyslog.d/20-ufw.conf:

# 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)
#& ~

When the last line is uncommented, the following warning is reported by rsyslog:

warning: ~ action is deprecated, consider using the 'stop' statement instead [try http://www.rsyslog.com/e/2307 ]

Trivial patch is attached for using stop statement. Please apply it.

All the best,
Ognyan
--- 20-ufw.conf.orig	2015-09-05 19:28:13.537919120 +0300
+++ 20-ufw.conf	2015-09-05 19:28:41.954029257 +0300
@@ -4,4 +4,4 @@
 # 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)
-#& ~
+#& stop

Reply via email to