]> granicus.if.org Git - icinga2/blob - doc/3.10-logging.md
Fix unit tests.
[icinga2] / doc / 3.10-logging.md
1 ## <a id="logging"></a> Logging
2
3 Icinga 2 supports three different types of logging:
4
5 * File logging
6 * Syslog (on *NIX-based operating systems)
7 * Console logging (`STDOUT` on tty)
8
9 You can enable additional loggers using the `icinga2-enable-feature`
10 and `icinga2-disable-feature` commands to configure loggers:
11
12 Feature  | Description
13 ---------|------------
14 debuglog | Debug log (path: `/var/log/icinga2/debug.log`, severity: `debug` or higher)
15 mainlog  | Main log (path: `/var/log/icinga2/icinga2.log`, severity: `information` or higher)
16 syslog   | Syslog (severity: `warning` or higher)
17
18 By default file the `mainlog` feature is enabled. When running Icinga 2
19 on a terminal log messages with severity `information` or higher are
20 written to the console.