1 <configuration> 2 3 <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> 4 <!-- encoders are assigned the type 5 ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> 6 <encoder> 7 <pattern>%cyan(%d{HH:mm:ss.SSS}) %gray([%thread]) %highlight(%-5level) %magenta(%logger{36}) - %msg%n</pattern> 8 </encoder> 9 </appender> 10 11 <root level="info"> 12 <appender-ref ref="STDOUT" /> 13 </root> 14 </configuration>