com.teamscale.jacoco.agent.logback-default.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of teamscale-jacoco-agent Show documentation
Show all versions of teamscale-jacoco-agent Show documentation
JVM profiler that simplifies various aspects around recording and uploading test coverage
<?xml version="1.0" encoding="UTF-8"?> <configuration> <define name="defaultLogDir" class="com.teamscale.jacoco.agent.util.LogDirectoryPropertyDefiner" /> <appender name="RollingFile" class="shadow.ch.qos.logback.core.rolling.RollingFileAppender"> <!-- We write to a file that is located in a folder provided via the context --> <file>${defaultLogDir}/teamscale-jacoco-agent.log</file> <rollingPolicy class="shadow.ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> <fileNamePattern>${defaultLogDir}/teamscale-jacoco-agent-%i.log.zip</fileNamePattern> <minIndex>1</minIndex> <maxIndex>10</maxIndex> </rollingPolicy> <triggeringPolicy class="shadow.ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> <maxFileSize>1MB</maxFileSize> </triggeringPolicy> <encoder> <pattern>%date{yyyy-MM-dd HH:mm:ss} %-5level %logger{35} - %msg%n</pattern> </encoder> </appender> <root level="INFO"> <appender-ref ref="RollingFile"/> </root> <logger name="shadow.org.apache.spark" level="warn" /> <logger name="shadow.org.eclipse.jetty" level="warn" /> </configuration>