← Back to team overview

cloud-init-dev team mailing list archive

[Merge] lp:~gholms/cloud-init/rsyslog-programname into lp:cloud-init

 

Garrett Holmstrom has proposed merging lp:~gholms/cloud-init/rsyslog-programname into lp:cloud-init.

Requested reviews:
  cloud init development team (cloud-init-dev)

For more details, see:
https://code.launchpad.net/~gholms/cloud-init/rsyslog-programname/+merge/186906

The rsyslog config file in the source tree doesn't seem to be working properly on Fedora for some reason.  Now that the days of separate cloud-init and cloud-config executables are long past, though, we can simply tell it to filter by programname instead of syslogtag to make everything begin working again.
-- 
https://code.launchpad.net/~gholms/cloud-init/rsyslog-programname/+merge/186906
Your team cloud init development team is requested to review the proposed merge of lp:~gholms/cloud-init/rsyslog-programname into lp:cloud-init.
=== modified file 'tools/21-cloudinit.conf'
--- tools/21-cloudinit.conf	2011-01-27 15:55:29 +0000
+++ tools/21-cloudinit.conf	2013-09-21 00:58:57 +0000
@@ -1,5 +1,5 @@
 # Log cloudinit generated log messages to file
-:syslogtag, isequal, "[CLOUDINIT]" /var/log/cloud-init.log
+:programname, isequal, "cloud-init" /var/log/cloud-init.log
 
 # comment out the following line to allow CLOUDINIT messages through.
 # Doing so means you'll also get CLOUDINIT messages in /var/log/syslog


Follow ups