icinga2/components/compat/compatlogger.ti

18 lines
313 B
Plaintext

#include "base/dynamicobject.h"
#include "base/application.h"
namespace icinga
{
class CompatLogger : DynamicObject
{
[config] String log_dir {
default {{{ return Application::GetLocalStateDir() + "/log/icinga2/compat"; }}}
};
[config] String rotation_method {
default {{{ return "HOURLY"; }}}
};
};
}