aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/barometer/roles/collectd/templates/logfile.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/barometer/roles/collectd/templates/logfile.conf.j2')
-rw-r--r--plugins/barometer/roles/collectd/templates/logfile.conf.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/barometer/roles/collectd/templates/logfile.conf.j2 b/plugins/barometer/roles/collectd/templates/logfile.conf.j2
new file mode 100644
index 00000000..77d86a99
--- /dev/null
+++ b/plugins/barometer/roles/collectd/templates/logfile.conf.j2
@@ -0,0 +1,13 @@
+LoadPlugin "logfile"
+
+<Plugin "logfile">
+ LogLevel "info"
+ File "/var/log/collectd.log"
+ Timestamp true
+</Plugin>
+
+# Decrease syslog verbosity, to avoid duplicate logging
+<Plugin "syslog">
+ LogLevel "err"
+</Plugin>
+