configureJdkLoggingBridgeHandler() — spring-boot Function Reference
Architecture documentation for the configureJdkLoggingBridgeHandler() function in Log4J2LoggingSystem.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 11bc3c8e_26c8_b240_e5e6_30a78e35c1ea["configureJdkLoggingBridgeHandler()"] b8a74193_db88_a5ea_ed35_5c09a84d226e["beforeInitialize()"] b8a74193_db88_a5ea_ed35_5c09a84d226e -->|calls| 11bc3c8e_26c8_b240_e5e6_30a78e35c1ea 84fda84e_8785_d13e_746f_fddd64384e23["isJulUsingASingleConsoleHandlerAtMost()"] 11bc3c8e_26c8_b240_e5e6_30a78e35c1ea -->|calls| 84fda84e_8785_d13e_746f_fddd64384e23 85a0d2d8_1051_4bd1_a89e_0a513ad1170a["isLog4jLogManagerInstalled()"] 11bc3c8e_26c8_b240_e5e6_30a78e35c1ea -->|calls| 85a0d2d8_1051_4bd1_a89e_0a513ad1170a 75f7a353_b3bd_4a97_44f4_02cb5bc5d805["isLog4jBridgeHandlerAvailable()"] 11bc3c8e_26c8_b240_e5e6_30a78e35c1ea -->|calls| 75f7a353_b3bd_4a97_44f4_02cb5bc5d805 d53bde2c_ad07_5dac_c356_1c3f62fdbab4["removeDefaultRootHandler()"] 11bc3c8e_26c8_b240_e5e6_30a78e35c1ea -->|calls| d53bde2c_ad07_5dac_c356_1c3f62fdbab4 style 11bc3c8e_26c8_b240_e5e6_30a78e35c1ea fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystem.java lines 183–196
private boolean configureJdkLoggingBridgeHandler() {
try {
if (isJulUsingASingleConsoleHandlerAtMost() && !isLog4jLogManagerInstalled()
&& isLog4jBridgeHandlerAvailable()) {
removeDefaultRootHandler();
Log4jBridgeHandler.install(false, null, true);
return true;
}
}
catch (Throwable ex) {
// Ignore. No java.util.logging bridge is installed.
}
return false;
}
Domain
Subdomains
Calls
- isJulUsingASingleConsoleHandlerAtMost()
- isLog4jBridgeHandlerAvailable()
- isLog4jLogManagerInstalled()
- removeDefaultRootHandler()
Called By
Source
Frequently Asked Questions
What does configureJdkLoggingBridgeHandler() do?
configureJdkLoggingBridgeHandler() is a function in the spring-boot codebase.
What does configureJdkLoggingBridgeHandler() call?
configureJdkLoggingBridgeHandler() calls 4 function(s): isJulUsingASingleConsoleHandlerAtMost, isLog4jBridgeHandlerAvailable, isLog4jLogManagerInstalled, removeDefaultRootHandler.
What calls configureJdkLoggingBridgeHandler()?
configureJdkLoggingBridgeHandler() is called by 1 function(s): beforeInitialize.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free