mirror of
https://github.com/Icinga/icinga2.git
synced 2025-08-16 23:28:16 +02:00
So far, the documentation has claimed that loggers have a default severity (information for FileLogger and warning for SyslogLogger). However, this was not the case and not setting the severity resulted in a configuration error. This commit changes the default value to be information for all loggers.
18 lines
234 B
Plaintext
18 lines
234 B
Plaintext
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
|
|
|
#include "base/configobject.hpp"
|
|
|
|
library base;
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
abstract class Logger : ConfigObject
|
|
{
|
|
[config] String severity {
|
|
default {{{ return "information"; }}}
|
|
};
|
|
};
|
|
|
|
}
|