mirror of https://github.com/Icinga/icinga2.git
Add debuglog feature.
This commit is contained in:
parent
fab0d1efcc
commit
4fc170bced
|
@ -22,9 +22,9 @@ and forward the `debug` serverity into an Icinga 2 debug file.
|
|||
|
||||
object FileLogger "debug-file" {
|
||||
severity = "debug",
|
||||
path = "/var/log/icinga2/icinga2-debug.log"
|
||||
path = "/var/log/icinga2/debug.log"
|
||||
}
|
||||
|
||||
|
||||
If you're starting Icinga 2 not as daemon, but in foreground
|
||||
using `/usr/bin/icinga2 -c /etc/icinga2/icinga2.conf` you may
|
||||
want to enable console logging temporary too.
|
||||
|
|
|
@ -6,6 +6,7 @@ CONFIG_FILES = \
|
|||
checker.conf \
|
||||
command.conf \
|
||||
compatlog.conf \
|
||||
debuglog.conf \
|
||||
graphite.conf \
|
||||
ido-mysql.conf \
|
||||
livestatus.conf \
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* The FileLogger type writes log information to a log file.
|
||||
*/
|
||||
|
||||
object FileLogger "debug-file" {
|
||||
severity = "debug",
|
||||
path = "/var/log/icinga2/debug.log"
|
||||
}
|
||||
|
Loading…
Reference in New Issue