[collectd] [PATCH] collectd.conf.in: Moved logging plugins to the top of the file.

Sebastian Harl sh at tokkee.org
Tue Aug 26 15:51:27 CEST 2008


This will make all logging output of all other plugins available.

Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 src/collectd.conf.in |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index b54f351..44103e9 100644
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
@@ -13,6 +13,19 @@ FQDNLookup   true
 #Interval     10
 #ReadThreads  5
 
+ at BUILD_PLUGIN_LOGFILE_TRUE@LoadPlugin logfile
+ at BUILD_PLUGIN_SYSLOG_TRUE@LoadPlugin syslog
+
+#<Plugin logfile>
+#	LogLevel info
+#	File STDOUT
+#	Timestamp true
+#</Plugin>
+
+#<Plugin syslog>
+#	LogLevel info
+#</Plugin>
+
 @BUILD_PLUGIN_APACHE_TRUE at LoadPlugin apache
 @BUILD_PLUGIN_APCUPS_TRUE at LoadPlugin apcups
 @BUILD_PLUGIN_APPLE_SENSORS_TRUE at LoadPlugin apple_sensors
@@ -35,7 +48,6 @@ FQDNLookup   true
 @BUILD_PLUGIN_IRQ_TRUE at LoadPlugin irq
 @BUILD_PLUGIN_LIBVIRT_TRUE at LoadPlugin libvirt
 @BUILD_PLUGIN_LOAD_TRUE at LoadPlugin load
- at BUILD_PLUGIN_LOGFILE_TRUE@LoadPlugin logfile
 @BUILD_PLUGIN_MBMON_TRUE at LoadPlugin mbmon
 @BUILD_PLUGIN_MEMCACHED_TRUE at LoadPlugin memcached
 @BUILD_PLUGIN_MEMORY_TRUE at LoadPlugin memory
@@ -60,7 +72,6 @@ FQDNLookup   true
 @BUILD_PLUGIN_SERIAL_TRUE at LoadPlugin serial
 @BUILD_PLUGIN_SNMP_TRUE at LoadPlugin snmp
 @BUILD_PLUGIN_SWAP_TRUE at LoadPlugin swap
- at BUILD_PLUGIN_SYSLOG_TRUE@LoadPlugin syslog
 @BUILD_PLUGIN_TAIL_TRUE at LoadPlugin tail
 @BUILD_PLUGIN_TAPE_TRUE at LoadPlugin tape
 @BUILD_PLUGIN_TCPCONNS_TRUE at LoadPlugin tcpconns
@@ -160,12 +171,6 @@ FQDNLookup   true
 #	HostnameFormat name
 #</Plugin>
 
-#<Plugin logfile>
-#	LogLevel info
-#	File STDOUT
-#	Timestamp true
-#</Plugin>
-
 #<Plugin mbmon>
 #	Host "127.0.0.1"
 #	Port "411"
@@ -353,10 +358,6 @@ FQDNLookup   true
 #   </Host>
 #</Plugin>
 
-#<Plugin syslog>
-#	LogLevel info
-#</Plugin>
-
 #<Plugin "tail">
 #  <File "/var/log/exim4/mainlog">
 #    Instance "exim"
-- 
1.6.0.90.g436ed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080826/f253773e/attachment.pgp 


More information about the collectd mailing list