Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 1 | <?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 | |
Yuli Shlosberg | 0566f58 | 2017-11-26 19:05:23 +0200 | [diff] [blame] | 18 | <logger name="com.memorynotfound" level="INFO"/> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 19 | |
Yuli Shlosberg | 0566f58 | 2017-11-26 19:05:23 +0200 | [diff] [blame] | 20 | <root level="INFO"> |
Michael Lando | b3d4898 | 2017-06-11 14:22:02 +0300 | [diff] [blame] | 21 | <appender-ref ref="STDOUT" /> |
| 22 | <appender-ref ref="FILE" /> |
| 23 | </root> |
| 24 | |
| 25 | </configuration> |