seaswalker / posts

0 stars 0 forks source link

Logback单独设置某个包/类的日志级别 #58

Open seaswalker opened 2 years ago

seaswalker commented 2 years ago
<springProfile name="test">
    <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
    </appender>
    <logger name="com.github.seaswalker.service.SomeService" level="debug" />
</springProfile>