icinga2/components/compat/compatlogger.ti

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