All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.common-http.1.1.4.source-code.logback.xml Maven / Gradle / Ivy

There is a newer version: 1.3.9
Show newest version
<?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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy