mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-10 03:19:01 +00:00
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>