mirror of https://github.com/Icinga/icinga2.git
Config: add Logger with debug severity by default
This commit is contained in:
parent
ab5f57ea17
commit
0f19f24843
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue