Config: add Logger with debug severity by default

This commit is contained in:
Michael Friedrich 2012-10-09 00:24:58 +02:00
parent ab5f57ea17
commit 0f19f24843
1 changed files with 10 additions and 1 deletions

View 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.
*/