Skip to content

Commit 2dc3eed

Browse files
committed
chore: add commented out configuration for troubleshooting issues with caching of Spring contexts
Relate to #1589 [skip ci]
1 parent f6d185e commit 2dc3eed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: src/test/resources/logback-test.xml

+10
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@
2222
</root>
2323
<!-- End of org/springframework/boot/logging/logback/base.xml content -->
2424

25+
<!--
26+
Enable to debug caching of the Spring contexts.
27+
See: https://rieckpil.de/improve-build-times-with-context-caching-from-spring-test/
28+
-->
29+
<!--
30+
<logger name="org.springframework.test.context.cache" level="DEBUG">
31+
<appender-ref ref="CONSOLE" />
32+
</logger>
33+
-->
34+
2535
<logger name="org.springframework.test.context.support.AbstractContextLoader" level="WARN">
2636
<appender-ref ref="CONSOLE" />
2737
</logger>

0 commit comments

Comments
 (0)