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

dp-api-commons.5.1.2.source-code.logback-translog-template.xml Maven / Gradle / Ivy

The newest version!
<included>

    <appender name="TRANSLOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>${user.home}/logs/translog-${CONTEXT_NAME}.%d{yyyy-MM-dd}.%i.log.zip</fileNamePattern>
            <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
                <maxFileSize>100MB</maxFileSize>
            </timeBasedFileNamingAndTriggeringPolicy>
            <maxHistory>731</maxHistory>
        </rollingPolicy>
        <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level - %msg%n</pattern>
        </encoder>
    </appender>

    <logger name="mf.logger.translog" level="INFO" additivity="false">
        <appender-ref ref="TRANSLOG_FILE"/>
    </logger>

</included>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy