to control the appender rolling, add the following 2 lines at the end of your custom appender:
log4j2.appender.ZWave.strategy.type = DefaultRolloverStrategy
log4j2.appender.ZWave.strategy.max = 10
(I updated the first post also)
to control the appender rolling, add the following 2 lines at the end of your custom appender:
log4j2.appender.ZWave.strategy.type = DefaultRolloverStrategy
log4j2.appender.ZWave.strategy.max = 10
(I updated the first post also)