logback work

This commit is contained in:
eugenp 2016-08-23 13:38:36 +03:00
parent 6f00a28f3e
commit 5801c10455
2 changed files with 23 additions and 1 deletions

View File

@ -2,7 +2,8 @@
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>web - %date [%thread] %-5level %logger{36} - %message%n
<pattern>
%date [%thread] %-5level %logger{6} - %message%n
</pattern>
</encoder>
</appender>

View File

@ -0,0 +1,21 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>
%date [%thread] %-5level %logger{6} - %message%n
</pattern>
</encoder>
</appender>
<logger name="org.springframework" level="WARN" />
<logger name="org.springframework.transaction" level="WARN" />
<!-- in order to debug some marshalling issues, this needs to be TRACE -->
<logger name="org.springframework.web.servlet.mvc" level="WARN" />
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>