From 41bcf9fccca372cbe5cc9255cfbb80bfb75c7e64 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 26 Aug 2008 15:51:27 +0200 Subject: [PATCH] collectd.conf.in: Moved logging plugins to the top of the file. This will make all logging output of all other plugins available. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- src/collectd.conf.in | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/collectd.conf.in b/src/collectd.conf.in index f4e04d34..829d3e59 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -13,6 +13,19 @@ FQDNLookup true #Interval 10 #ReadThreads 5 +@BUILD_PLUGIN_LOGFILE_TRUE@LoadPlugin logfile +@BUILD_PLUGIN_SYSLOG_TRUE@LoadPlugin syslog + +# +# LogLevel info +# File STDOUT +# Timestamp true +# + +# +# LogLevel info +# + @BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache @BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups @BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors @@ -35,7 +48,6 @@ FQDNLookup true @BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq @BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt @BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load -@BUILD_PLUGIN_LOGFILE_TRUE@LoadPlugin logfile @BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon @BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached @BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory @@ -56,7 +68,6 @@ FQDNLookup true @BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial @BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp @BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap -@BUILD_PLUGIN_SYSLOG_TRUE@LoadPlugin syslog @BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail @BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape @BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns @@ -155,12 +166,6 @@ FQDNLookup true # HostnameFormat name # -# -# LogLevel info -# File STDOUT -# Timestamp true -# - # # Host "127.0.0.1" # Port "411" @@ -299,10 +304,6 @@ FQDNLookup true # # -# -# LogLevel info -# - # # # Instance "exim" -- 2.11.0