Skip to content

Commit

Permalink
[improve][core] disable mongodb drive monitor mass log
Browse files Browse the repository at this point in the history
  • Loading branch information
wgzhao committed May 24, 2024
1 parent a13cfa5 commit 8e452e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/src/main/conf/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<configuration>
<property name="log.dir" value="${addax.log}/" />
<!-- 控制台输出 -->
<!-- console output -->
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<withJansi>true</withJansi>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
Expand All @@ -39,6 +39,9 @@
</encoder>
</appender>

<!-- disable mongodb driver monitor mass log -->
<logger name="org.mongodb.driver" level="WARN"> </logger>

<root level="${loglevel:-INFO}">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
Expand Down

0 comments on commit 8e452e4

Please sign in to comment.