mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-19 22:09:01 +00:00
`LogbackLoggingSystem` and `Log4J2LoggingSystem` install a JUL bridge handler only when the application is not already managing `java.util.logging`. However, `cleanUp()` removed the bridge handler whenever the bridge class was present on the classpath, so Spring Boot uninstalled a bridge handler that an application had installed and managed itself. Track whether the bridge handler was installed by Spring Boot and only remove it during cleanup when that is the case. See gh-50779 Signed-off-by: dhruv-15-03 <dhruvrastogi2004@gmail.com>