summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-06-17 22:44:17 -0400
committerScott Moser <smoser@ubuntu.com>2010-06-17 22:44:17 -0400
commit6cdd4bf0a05d90e1e5b9c7b9b3c9f5c251c0a652 (patch)
tree6222db511b4f786773e3d7f841e1ac06c2285549 /tools
parent9d83b3e70aa4f566e44b3909e753cf3c124d731d (diff)
downloadvyos-cloud-init-6cdd4bf0a05d90e1e5b9c7b9b3c9f5c251c0a652.tar.gz
vyos-cloud-init-6cdd4bf0a05d90e1e5b9c7b9b3c9f5c251c0a652.zip
move suggested rsyslogd config file to tools
Diffstat (limited to 'tools')
-rw-r--r--tools/21-cloudinit.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/21-cloudinit.conf b/tools/21-cloudinit.conf
new file mode 100644
index 00000000..0a2d7688
--- /dev/null
+++ b/tools/21-cloudinit.conf
@@ -0,0 +1,7 @@
+# Log cloudinit generated log messages to file
+:syslogtag, isequal, "[CLOUDINIT]" /var/log/cloud-init.log
+
+# 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)
+& ~