summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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)
+& ~