mirror of https://github.com/Icinga/icinga2.git
18 lines
317 B
Plaintext
18 lines
317 B
Plaintext
#include "base/dynamicobject.hpp"
|
|
#include "base/application.hpp"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class CompatLogger : DynamicObject
|
|
{
|
|
[config] String log_dir {
|
|
default {{{ return Application::GetLocalStateDir() + "/log/icinga2/compat"; }}}
|
|
};
|
|
[config] String rotation_method {
|
|
default {{{ return "HOURLY"; }}}
|
|
};
|
|
};
|
|
|
|
}
|