icinga2/lib/base/logger.ti
Julian Brost 963ad9dd1c Set a default severity for loggers
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.
2021-06-23 16:57:44 +02:00

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"; }}}
};
};
}