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

reinitialize() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6b2b0aa1_585b_b5a9_e61a_bb68da10b08b["reinitialize()"]
  37391dc1_d762_9c1a_b02b_4d7321ab91ec["reinitialize()"]
  6b2b0aa1_585b_b5a9_e61a_bb68da10b08b -->|calls| 37391dc1_d762_9c1a_b02b_4d7321ab91ec
  38e995b4_1ef1_6922_5bd2_636797effcbc["getLoggerContext()"]
  6b2b0aa1_585b_b5a9_e61a_bb68da10b08b -->|calls| 38e995b4_1ef1_6922_5bd2_636797effcbc
  34a6a8c7_32ad_ba64_eb08_4a128eda2235["getSelfInitializationConfig()"]
  6b2b0aa1_585b_b5a9_e61a_bb68da10b08b -->|calls| 34a6a8c7_32ad_ba64_eb08_4a128eda2235
  cafc9a8c_e23a_b8c4_5c44_2f02f0d89617["loadConfiguration()"]
  6b2b0aa1_585b_b5a9_e61a_bb68da10b08b -->|calls| cafc9a8c_e23a_b8c4_5c44_2f02f0d89617
  style 6b2b0aa1_585b_b5a9_e61a_bb68da10b08b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Override
	protected void reinitialize(LoggingInitializationContext initializationContext) {
		LoggerContext loggerContext = getLoggerContext();
		loggerContext.reset();
		loggerContext.getStatusManager().clear();
		String location = getSelfInitializationConfig();
		Assert.state(location != null, "location must not be null");
		loadConfiguration(initializationContext, location, null);
	}

Domain

Subdomains

Frequently Asked Questions

What does reinitialize() do?
reinitialize() is a function in the spring-boot codebase.
What does reinitialize() call?
reinitialize() calls 4 function(s): getLoggerContext, getSelfInitializationConfig, loadConfiguration, reinitialize.

Analyze Your Own Codebase

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

Try Supermodel Free