mirror of https://github.com/Icinga/icinga2.git
18 lines
313 B
Plaintext
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"; }}}
|
|
};
|
|
};
|
|
|
|
}
|