]> granicus.if.org Git - icinga2/commitdiff
Config: add Logger with debug severity by default
authorMichael Friedrich <michael.friedrich@gmail.com>
Mon, 8 Oct 2012 22:24:58 +0000 (00:24 +0200)
committerMichael Friedrich <michael.friedrich@gmail.com>
Mon, 8 Oct 2012 22:24:58 +0000 (00:24 +0200)
icinga-app/config/icinga2.conf.dist

index 5c67b8298bbcc23a626e7d911af2a46f745b7904..788d156d81b0ff2804dcc9d49917adc121366fe8 100644 (file)
@@ -12,7 +12,7 @@
  */
 local object IcingaApplication "icinga" {
   pid_path = "./var/run/icinga2.pid",
-  log_path = "./var/log/icinga2/icinga2.log",
+  //log_path = "./var/log/icinga2/icinga2.log",
   state_path = "./var/lib/icinga2/icinga2.state",
 
   macros = {
@@ -20,6 +20,15 @@ local object IcingaApplication "icinga" {
   }
 }
 
+/**
+ * Advanced logging settings
+ */
+local object Logger "my-debug-log" {
+  type = "console",
+  path = "./var/log/icinga2/icinga2.log",
+  severity = "debug"
+}
+
 /**
  * The checker component takes care of executing service checks.
  */