From: Michael Friedrich Date: Mon, 8 Oct 2012 22:24:58 +0000 (+0200) Subject: Config: add Logger with debug severity by default X-Git-Tag: v0.0.1~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f19f24843876e33816f4f6dc170d835efc7c6d6;p=icinga2 Config: add Logger with debug severity by default --- diff --git a/icinga-app/config/icinga2.conf.dist b/icinga-app/config/icinga2.conf.dist index 5c67b8298..788d156d8 100644 --- a/icinga-app/config/icinga2.conf.dist +++ b/icinga-app/config/icinga2.conf.dist @@ -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. */