mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 15:44:11 +02:00
Add debuglog feature.
This commit is contained in:
parent
fab0d1efcc
commit
4fc170bced
@ -22,7 +22,7 @@ and forward the `debug` serverity into an Icinga 2 debug file.
|
|||||||
|
|
||||||
object FileLogger "debug-file" {
|
object FileLogger "debug-file" {
|
||||||
severity = "debug",
|
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
|
If you're starting Icinga 2 not as daemon, but in foreground
|
||||||
|
@ -6,6 +6,7 @@ CONFIG_FILES = \
|
|||||||
checker.conf \
|
checker.conf \
|
||||||
command.conf \
|
command.conf \
|
||||||
compatlog.conf \
|
compatlog.conf \
|
||||||
|
debuglog.conf \
|
||||||
graphite.conf \
|
graphite.conf \
|
||||||
ido-mysql.conf \
|
ido-mysql.conf \
|
||||||
livestatus.conf \
|
livestatus.conf \
|
||||||
|
9
etc/icinga2/features-available/debuglog.conf
Normal file
9
etc/icinga2/features-available/debuglog.conf
Normal file
@ -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…
x
Reference in New Issue
Block a user