×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: XML
Posted by: Komsit Prakobphol
Added: Aug 18, 2016 11:30 AM
Views: 6
Tags: debug logback
  1. <configuration debug="true">
  2.  
  3.     <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
  4.         <!-- encoders are  by default assigned the type
  5.             ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
  6.         <encoder>
  7.             <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
  8.         </encoder>
  9.     </appender>
  10.  
  11.     <root level="debug">
  12.         <appender-ref ref="STDOUT" />
  13.     </root>
  14. </configuration>