Files
spring-boot/core
Raphael Vullriede 0c365319ef Prevent pausing of the logging system
When the test context framework pauses a cached context, the logging
lifecycle's stop() cleans up the logging system. With Logback this
uninstalls the JUL bridge handler for the whole JVM and nothing
reinstalls it when the context is restarted, so JUL output is lost
in later tests that reuse the context.

This commit makes the lifecycle non-pauseable so that cleanup only
happens on close, as it already does for the web server lifecycles.

See gh-51959

Signed-off-by: Raphael Vullriede <raphael@osslabz.net>
2026-10-07 16:09:03 +02:00
..