.common-http.1.3.0.source-code.logback.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <configuration debug="false" scan="false"> <!-- Log file path --> <property name="log.path" value="${logPath:-${java.io.tmpdir:-.}}/logs" /> <!-- Console log output --> <appender name="console" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%red(%date{yyyy-MM-dd HH:mm:ss.SSS}) %contextName %highlight(%-5level) %red([%thread]) %boldMagenta(%logger{36}:%method:%line ) %cyan(%msg%n)</pattern> <charset>UTF-8</charset> </encoder> </appender> <!-- Project level setting --> <logger name="cn.net.wanmo" level="DEBUG" /> <!-- Level: FATAL 0 ERROR 3 WARN 4 INFO 6 DEBUG 7 --> <root level="DEBUG"> <appender-ref ref="console" /> </root> </configuration>