logback.xml 779 Bytes
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <property name="log.context.name" value="sharding-jdbc-spring-namespace-jpa-example" />
    <property name="log.charset" value="UTF-8" />
    <property name="log.pattern" value="[%-5level] %date --%thread-- [%logger] %msg %n" />
    
    <contextName>${log.context.name}</contextName>
    
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder charset="${log.charset}">
            <pattern>${log.pattern}</pattern>
        </encoder>
    </appender>
    
    <logger name="org.springframework" level="WARN" />
    
    <logger name="com.zaxxer.hikari" level="WARN" />
    
    <root>
        <level value="DEBUG" />
        <appender-ref ref="STDOUT" />
    </root>
</configuration>