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