25 lines
847 B
XML
25 lines
847 B
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<Configuration status="info" >
|
||
|
<Appenders>
|
||
|
<File name="error" fileName="logs/error.log" append="true">
|
||
|
<PatternLayout>
|
||
|
<Pattern>%-5level %msg (%d{dd.MM.yyyy})%n</Pattern>
|
||
|
</PatternLayout>
|
||
|
<ThresholdFilter level="WARN" onMatch="ACCEPT" onMismatch="DENY"/>
|
||
|
</File>
|
||
|
<File name="info" fileName="logs/info.log" append="true">
|
||
|
<PatternLayout>
|
||
|
<Pattern>%-5level %msg (%d{dd.MM.yyyy})%n</Pattern>
|
||
|
</PatternLayout>
|
||
|
<ThresholdFilter level="WARN" onMatch="DENY" onMismatch="ACCEPT"/>
|
||
|
</File>
|
||
|
</Appenders>
|
||
|
|
||
|
<Loggers>
|
||
|
<Root level="INFO">
|
||
|
<AppenderRef ref="info" />
|
||
|
<AppenderRef ref="error" />
|
||
|
</Root>
|
||
|
</Loggers>
|
||
|
|
||
|
</Configuration>
|