mirror of https://github.com/Icinga/icinga2.git
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:
parent
36ce7d961f
commit
aa423d80ac
|
@ -1873,7 +1873,7 @@ Example:
|
|||
|
||||
```
|
||||
object WindowsEventLogLogger "windowseventlog" {
|
||||
severity = "warning"
|
||||
severity = "information"
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -1881,4 +1881,4 @@ Configuration Attributes:
|
|||
|
||||
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".
|
||||
|
|
|
@ -16,7 +16,7 @@ Feature | Description
|
|||
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)
|
||||
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
|
||||
on a terminal log messages with severity `information` or higher are
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
*/
|
||||
|
||||
object WindowsEventLogLogger "windowseventlog" {
|
||||
severity = "warning"
|
||||
severity = "information"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue