Home / Function/ beforeInitialize() — spring-boot Function Reference

beforeInitialize() — spring-boot Function Reference

Architecture documentation for the beforeInitialize() function in LogbackLoggingSystem.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  4a698093_93ee_c54a_b5a5_6ded488dd2e6["beforeInitialize()"]
  38e995b4_1ef1_6922_5bd2_636797effcbc["getLoggerContext()"]
  4a698093_93ee_c54a_b5a5_6ded488dd2e6 -->|calls| 38e995b4_1ef1_6922_5bd2_636797effcbc
  827b6e1e_2462_ccf9_a2e9_02efb7e71f75["isAlreadyInitialized()"]
  4a698093_93ee_c54a_b5a5_6ded488dd2e6 -->|calls| 827b6e1e_2462_ccf9_a2e9_02efb7e71f75
  a9ae177e_f227_9d3a_a404_954f3cb40183["configureJdkLoggingBridgeHandler()"]
  4a698093_93ee_c54a_b5a5_6ded488dd2e6 -->|calls| a9ae177e_f227_9d3a_a404_954f3cb40183
  2bfdcfc5_afd2_6c42_67cb_16521625aaa9["beforeInitialize()"]
  4a698093_93ee_c54a_b5a5_6ded488dd2e6 -->|calls| 2bfdcfc5_afd2_6c42_67cb_16521625aaa9
  style 4a698093_93ee_c54a_b5a5_6ded488dd2e6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackLoggingSystem.java lines 128–137

	@Override
	public void beforeInitialize() {
		LoggerContext loggerContext = getLoggerContext();
		if (isAlreadyInitialized(loggerContext)) {
			return;
		}
		super.beforeInitialize();
		configureJdkLoggingBridgeHandler();
		loggerContext.getTurboFilterList().add(SUPPRESS_ALL_FILTER);
	}

Domain

Subdomains

Frequently Asked Questions

What does beforeInitialize() do?
beforeInitialize() is a function in the spring-boot codebase.
What does beforeInitialize() call?
beforeInitialize() calls 4 function(s): beforeInitialize, configureJdkLoggingBridgeHandler, getLoggerContext, isAlreadyInitialized.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free