mirror of https://github.com/Icinga/icinga2.git
24 lines
385 B
Plaintext
24 lines
385 B
Plaintext
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
|
|
|
#include "base/configobject.hpp"
|
|
#include "base/application.hpp"
|
|
|
|
library compat;
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class CompatLogger : ConfigObject
|
|
{
|
|
activation_priority 100;
|
|
|
|
[config] String log_dir {
|
|
default {{{ return Configuration::LogDir + "/compat"; }}}
|
|
};
|
|
[config] String rotation_method {
|
|
default {{{ return "HOURLY"; }}}
|
|
};
|
|
};
|
|
|
|
}
|