Change WindowsEventLogLogger default severity to information

As this is intended to replace the mainlog feature which logged severity
information, this should be the default for this logger.
This commit is contained in:
Julian Brost 2021-06-23 17:05:05 +02:00
parent 36ce7d961f
commit aa423d80ac
3 changed files with 4 additions and 4 deletions

View File

@ -1873,7 +1873,7 @@ Example:
``` ```
object WindowsEventLogLogger "windowseventlog" { object WindowsEventLogLogger "windowseventlog" {
severity = "warning" severity = "information"
} }
``` ```
@ -1881,4 +1881,4 @@ Configuration Attributes:
Name | Type | Description Name | Type | Description
--------------------------|-----------------------|---------------------------------- --------------------------|-----------------------|----------------------------------
severity | String | **Optional.** The minimum severity for this log. Can be "debug", "notice", "information", "warning" or "critical". Defaults to "warning". severity | String | **Optional.** The minimum severity for this log. Can be "debug", "notice", "information", "warning" or "critical". Defaults to "information".

View File

@ -16,7 +16,7 @@ Feature | Description
debuglog | Debug log (path: `/var/log/icinga2/debug.log`, severity: `debug` or higher) debuglog | Debug log (path: `/var/log/icinga2/debug.log`, severity: `debug` or higher)
mainlog | Main log (path: `/var/log/icinga2/icinga2.log`, severity: `information` or higher) mainlog | Main log (path: `/var/log/icinga2/icinga2.log`, severity: `information` or higher)
syslog | Syslog (severity: `warning` or higher) syslog | Syslog (severity: `warning` or higher)
windowseventlog | Windows Event Log (severity: `warning` or higher) windowseventlog | Windows Event Log (severity: `information` or higher)
By default file the `mainlog` feature is enabled. When running Icinga 2 By default file the `mainlog` feature is enabled. When running Icinga 2
on a terminal log messages with severity `information` or higher are on a terminal log messages with severity `information` or higher are

View File

@ -3,6 +3,6 @@
*/ */
object WindowsEventLogLogger "windowseventlog" { object WindowsEventLogLogger "windowseventlog" {
severity = "warning" severity = "information"
} }