Skip to content

Commit

Permalink
Add MongoDriver MDC to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Jun 14, 2023
1 parent 12d6b0e commit b3f0593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib-testing/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<configuration>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d %-5level [%thread] %logger{25}: %msg%n</pattern>
<pattern>%d %-5level [%thread]%X{MongoDriver} %logger{25}: %msg%n</pattern>
</encoder>
<immediateFlush>true</immediateFlush>
</appender>
Expand Down

0 comments on commit b3f0593

Please sign in to comment.