blob: 4723bc24cbdcda6a9ed9c96fac03a6f0d0a5dc3a [file] [log] [blame]
Michael Landob3d48982017-06-11 14:22:02 +03001<?xml version="1.0" encoding="UTF-8"?>
2<configuration>
3
4 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
5 <encoder>
6 <pattern>%d{yyyy-MM-dd HH:mm:ss} | %-5p | [%thread] %logger{5}:%L - %msg%n</pattern>
7 </encoder>
8 </appender>
9
10 <appender name="FILE" class="ch.qos.logback.core.FileAppender">
11 <file>logFile.log</file>
12 <append>true</append>
13 <encoder>
14 <pattern>%d{yyyy-MM-dd HH:mm:ss} | %-5p | [%thread] %logger{5}:%L - %msg%n</pattern>
15 </encoder>
16 </appender>
17
18 <logger name="com.memorynotfound" level="TRACE"/>
19
20 <root level="DEBUG">
21 <appender-ref ref="STDOUT" />
22 <appender-ref ref="FILE" />
23 </root>
24
25</configuration>