ef3f20
From b5bc8596569ba46c89247d1df5f3cd6e6a85dce1 Mon Sep 17 00:00:00 2001
ef3f20
From: Joshua Powers <josh.powers@canonical.com>
ef3f20
Date: Mon, 10 Apr 2017 16:30:33 -0700
ef3f20
Subject: [PATCH] rsyslog: replace ~ with stop
ef3f20
MIME-Version: 1.0
ef3f20
Content-Type: text/plain; charset=UTF-8
ef3f20
Content-Transfer-Encoding: 8bit
ef3f20
ef3f20
The discard action (tilde character) has been replaced by the
ef3f20
“stop” RainerScript directive. It is considered more intuitive and
ef3f20
offers slightly better performance.
ef3f20
ef3f20
The tilde operator was deprecated in rsyslog 7. Distributions
ef3f20
using rsyslog older than that will need to patch.
ef3f20
ef3f20
LP: #1367899
ef3f20
Resolves: rhbz#1315615
ef3f20
(cherry picked from commit b613de733fa7cfbf94666410f252b640019be205)
ef3f20
---
ef3f20
 tools/21-cloudinit.conf | 2 +-
ef3f20
 1 file changed, 1 insertion(+), 1 deletion(-)
ef3f20
ef3f20
diff --git a/tools/21-cloudinit.conf b/tools/21-cloudinit.conf
ef3f20
index c65325c..150d800 100644
ef3f20
--- a/tools/21-cloudinit.conf
ef3f20
+++ b/tools/21-cloudinit.conf
ef3f20
@@ -3,4 +3,4 @@
ef3f20
 
ef3f20
 # comment out the following line to allow CLOUDINIT messages through.
ef3f20
 # Doing so means you'll also get CLOUDINIT messages in /var/log/syslog
ef3f20
-& ~
ef3f20
+& stop