Hi, JaCoCo writes exec files directly and does not use a logging framework for this. Therefore log configuration will not affect the way how JaCoCo exec files are written.
Regards, -marc > On 17. May 2019, at 10:50, [email protected] wrote: > > you can try below appender: > https://www.baeldung.com/java-logging-rolling-file-appenders > > <RollingFile name="roll-by-time-and-size" > fileName="target/log4j2/roll-by-time-and-size/app.log" > > filePattern="target/log4j2/roll-by-time-and-size/app.%d{MM-dd-yyyy-HH-mm}.%i.log.gz" > ignoreExceptions="false"> > <PatternLayout> > <Pattern>%d{yyyy-MM-dd HH:mm:ss} %p %m%n</Pattern> > </PatternLayout> > <Policies> > <OnStartupTriggeringPolicy /> > <SizeBasedTriggeringPolicy size="5 KB" /> > <TimeBasedTriggeringPolicy /> > </Policies> > <DefaultRolloverStrategy> > <Delete basePath="${baseDir}" maxDepth="2"> > <IfFileName > glob="target/log4j2/roll-by-time-and-size/app.*.log.gz" /> > <IfLastModified age="20d" /> > </Delete> > </DefaultRolloverStrategy> > </RollingFile> > > -- > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/35635628-1df3-4282-a9ec-49a749f58688%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/F71BA8C8-5A52-4362-9434-B175DBE5D150%40mountainminds.com.
