All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.teamscale.jacoco.agent.logback-default.xml Maven / Gradle / Ivy

Go to download

JVM profiler that simplifies various aspects around recording and uploading test coverage

There is a newer version: 34.0.2
Show newest version
<?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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy