How do I achieve the following in OHv2:
rotate openhab and events logs based on
keep 14 days
I found the log config:
and the relevant sections:
log4j2.appender.out.policies.size.type = SizeBasedTriggeringPolicy log4j2.appender.out.policies.size.size = 16MB
which need changing to something like TimeBasedTriggeringPolicy?!
Where can I find the possible properties?
Or what needs to be added to achieve this?