Skip to content

Commit

Permalink
chore: 调整 Logback 配置,取消启动时打印 Logback 状态日志
Browse files Browse the repository at this point in the history
1.关闭 Logback 的状态监听器(通过更换默认状态监听器实现)
  • Loading branch information
Charles7c committed Nov 5, 2023
1 parent fa23287 commit 1f7fef5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions continew-admin-webapi/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<!-- debug:当此属性设置为 true 时,将打印出 logback 内部日志信息,实时查看 logback 运行状态。默认值为 false。 -->
<configuration debug="false" scan="true" scanPeriod="30 seconds">

<!-- 关闭 Logback 的状态监听器(通过更换默认状态监听器实现) -->
<statusListener class="ch.qos.logback.core.status.NopStatusListener" />

<!-- 应用名 -->
<springProperty name="APP_NAME" source="spring.application.name" scope="context" />
<!-- 保存路径 -->
Expand Down

0 comments on commit 1f7fef5

Please sign in to comment.