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

e.maven-indexer.1.1.5.source-code.log4j2.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="INFO">
    <Appenders>
        <RollingFile name="RollingFile" fileName="/mnt/logs/maven-indexer.log"
                     filePattern="/mnt/logs/${date:yyyy-MM}/%d{yyyy-MM-dd}-%i.log.gz">
            <PatternLayout pattern="%d{DEFAULT} [%t] %-5level %logger{36} - %msg%n" />
            <Policies>
                <!--<TimeBasedTriggeringPolicy />&lt;!&ndash; Rotated everyday &ndash;&gt;-->
                <SizeBasedTriggeringPolicy size="10 MB"/> <!-- Or every 10 MB -->
            </Policies>
            <DefaultRolloverStrategy max="10"/>
        </RollingFile>
        <!--<File name="File" fileName="/mnt/logs/crawlj.log" bufferedIO="false" MaxFileSize="10MB" MaxBackupIndex="10" >-->
        <!--<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" />-->
        <!--</File>-->
    </Appenders>
    <Loggers>
        <Root level="info">
            <AppenderRef ref="RollingFile" />
        </Root>
    </Loggers>
</Configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy