mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-31 01:24:19 +02:00
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" {
|
local object IcingaApplication "icinga" {
|
||||||
pid_path = "./var/run/icinga2.pid",
|
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",
|
state_path = "./var/lib/icinga2/icinga2.state",
|
||||||
|
|
||||||
macros = {
|
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.
|
* The checker component takes care of executing service checks.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user