mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-11-04 05:34:12 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			317 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			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"; }}}
 | 
						|
	};
 | 
						|
};
 | 
						|
 | 
						|
}
 |