Code

syslog plugin: Added plugin to log to syslog.
[sysdb.git] / src / daemon / sysdbd.conf.sample
index 7ca023a515e22549ce9531bf15458f3cff8f6f32..40210fad05d70403e7ddc7cab50e67565b0e0595 100644 (file)
 # default interval used for actively polling plugins
 Interval 300
 
+#----------------------------------------------------------------------------#
+# Logging settings:                                                          #
+# These plugins should be loaded first. Else, any log messages will be       #
+# written to the standard error channel which is closed after the daemon has #
+# started.                                                                   #
+#----------------------------------------------------------------------------#
+LoadPlugin "syslog"
+
 #----------------------------------------------------------------------------#
 # Plugins:                                                                   #
 # Plugins are the working horses of SysDB. Load any of the following plugins #
@@ -26,7 +34,7 @@ Interval 300
 
 LoadBackend "collectd::unixsock"
 LoadBackend "mk-livestatus"
-LoadBackend "puppet-storeconfigs"
+LoadBackend "puppet::store-configs"
 
 #----------------------------------------------------------------------------#
 # Plugin configuration:                                                      #
@@ -44,7 +52,7 @@ LoadBackend "puppet-storeconfigs"
        </Instance>
 </Backend>
 
-<Backend "puppet-storeconfigs">
+<Backend "puppet::store-configs">
        <Connection "puppet">
                DBAdapter "pgsql"
                DBName "puppet"