diff --git a/doc/09-object-types.md b/doc/09-object-types.md index d6d4c8f8d..a1ac37cea 100644 --- a/doc/09-object-types.md +++ b/doc/09-object-types.md @@ -1836,7 +1836,7 @@ 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". facility | String | **Optional.** Defines the facility to use for syslog entries. This can be a facility constant like `FacilityDaemon`. Defaults to `FacilityUser`. Facility Constants: diff --git a/lib/base/logger.ti b/lib/base/logger.ti index df68b2540..b9776c83d 100644 --- a/lib/base/logger.ti +++ b/lib/base/logger.ti @@ -9,7 +9,9 @@ namespace icinga abstract class Logger : ConfigObject { - [config] String severity; + [config] String severity { + default {{{ return "information"; }}} + }; }; }