mirror of
https://github.com/Icinga/icinga2.git
synced 2026-03-10 02:01:38 -04:00
17 lines
313 B
Text
17 lines
313 B
Text
#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"; }}}
|
|
};
|
|
};
|
|
|
|
}
|