0

Начинаем переход на SLF4j+Log4j2

This commit is contained in:
2017-05-12 11:04:35 +03:00
parent 7c0b9c3693
commit 7f8981cef8
3 changed files with 29 additions and 1 deletions

13
resources/log4j2.xml Normal file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%-5level] (%t) \{%logger{36}\} %msg%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="all">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>