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

mmingbird.1.2.1.source-code.log4j2-hummingbird.xml Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="OFF" monitorInterval="600">
    <Appenders>
        <Console name="Console" target="SYSTEM_OUT">
            <ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY"/>
            <PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%p] - %m%n"/>
        </Console>
        <File name="SingleRuntime" fileName="/tmp/hummingbird/log/log.out" append="false">
            <PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%p] - %m%n"/>
        </File>
        <RollingRandomAccessFile name="RollingFile" fileName="/tmp/hummingbird/log/hummingbird.log" filePattern="/tmp/hummingbird/log/hummingbird-%d{yyyy-MM-dd}_%i.log">
            <PatternLayout pattern="[%d{yyyy-MM-dd HH:mm:ss.SSS}] [%p] - %m%n"/>
            <Policies>
                <TimeBasedTriggeringPolicy interval="1"/>
                <SizeBasedTriggeringPolicy size="10MB"/>
            </Policies>
            <DefaultRolloverStrategy max="20"/>
        </RollingRandomAccessFile>
        <Async name="Async">
            <AppenderRef ref="SingleRuntime"/>
            <AppenderRef ref="RollingFile"/>
        </Async>
    </Appenders>
    <Loggers>
        <Root level="all">
            <Appender-Ref ref="Console"/>
            <Appender-Ref ref="SingleRuntime"/>
            <Appender-Ref ref="RollingFile"/>
        </Root>
    </Loggers>
</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy