log4j2.xml 713 Bytes
Newer Older
1 2 3 4 5
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="error">
    <Appenders>
        <Console name="Console" target="SYSTEM_OUT">
            <PatternLayout pattern="[%-5level] %msg%n"/>
6 7 8
            <!--<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>-->


9
        </Console>
Alexander Weigl's avatar
Alexander Weigl committed
10
        <File name="F" fileName="debug.log" bufferSize="0" bufferedIO="false" append="false">
11 12 13 14 15 16 17 18 19 20
            <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
        </File>
    </Appenders>
    <Loggers>
        <Root level="trace">
            <AppenderRef ref="Console" level="warn"/>
            <AppenderRef ref="F"/>
        </Root>
    </Loggers>
</Configuration>