1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?xml version="1.0" encoding="UTF-8" ?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern> %d{HH:mm:ss.SSS} %-5level %logger{36} - %msg%n </pattern> </encoder> </appender> <root> <level value="WARN"/> <appender-ref ref="STDOUT"/> </root> </configuration>