summaryrefslogtreecommitdiffstats
path: root/lib/compat/compatlogger.ti
blob: 56431eccdd8e0ade5fdb9227ba43821341e01359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

#include "base/configobject.hpp"
#include "base/application.hpp"

library compat;

namespace icinga
{

class CompatLogger : ConfigObject
{
	activation_priority 100;

	[config] String log_dir {
		default {{{ return Configuration::LogDir + "/compat"; }}}
	};
	[config] String rotation_method {
		default {{{ return "HOURLY"; }}}
	};
};

}