manolo perez You need to modify buildAppender so that innerPolicy of type SizeAndTimeBasedFNATP is *not* started and policy of type TimeBasedRollingPolicy is started only once after the line
policy.setTimeBasedFileNamingAndTriggeringPolicy(innerpolicy);
things should go more smoothly. FYI, SizeAndTimeBasedFNATP is annotated with @NoAutoStart and joran will not start it on its own.
|