d3c36a
From 502e27516f6d16939e9a35339fb99f418e406169 Mon Sep 17 00:00:00 2001
d3c36a
From: Lars Kellogg-Stedman <lars@redhat.com>
d3c36a
Date: Mon, 23 Jun 2014 13:13:57 -0400
d3c36a
Subject: [PATCH] fix rsyslog programname match
d3c36a
d3c36a
---
d3c36a
 tools/21-cloudinit.conf | 2 +-
d3c36a
 1 file changed, 1 insertion(+), 1 deletion(-)
d3c36a
d3c36a
diff --git a/tools/21-cloudinit.conf b/tools/21-cloudinit.conf
d3c36a
index c65325c..248e3b1 100644
d3c36a
--- a/tools/21-cloudinit.conf
d3c36a
+++ b/tools/21-cloudinit.conf
d3c36a
@@ -1,5 +1,5 @@
d3c36a
 # Log cloudinit generated log messages to file
d3c36a
-:syslogtag, isequal, "[CLOUDINIT]" /var/log/cloud-init.log
d3c36a
+:programname, isequal, "cloud-init" /var/log/cloud-init.log
d3c36a
 
d3c36a
 # comment out the following line to allow CLOUDINIT messages through.
d3c36a
 # Doing so means you'll also get CLOUDINIT messages in /var/log/syslog