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

cleanUp() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b6802fea_a8be_6703_64a1_4682074b029d["cleanUp()"]
  3fd06bae_0f90_3836_e1dd_ba0a88b1617c["cleanUp()"]
  b6802fea_a8be_6703_64a1_4682074b029d -->|calls| 3fd06bae_0f90_3836_e1dd_ba0a88b1617c
  38e995b4_1ef1_6922_5bd2_636797effcbc["getLoggerContext()"]
  b6802fea_a8be_6703_64a1_4682074b029d -->|calls| 38e995b4_1ef1_6922_5bd2_636797effcbc
  5ebca278_b9fb_c98c_74ea_187cdec79d0d["markAsUninitialized()"]
  b6802fea_a8be_6703_64a1_4682074b029d -->|calls| 5ebca278_b9fb_c98c_74ea_187cdec79d0d
  8d3c5e7d_11b0_e93a_3be0_1012b59b4c4d["isBridgeHandlerAvailable()"]
  b6802fea_a8be_6703_64a1_4682074b029d -->|calls| 8d3c5e7d_11b0_e93a_3be0_1012b59b4c4d
  9d1392a2_5443_c8ce_e585_6fe9e0bfabff["removeJdkLoggingBridgeHandler()"]
  b6802fea_a8be_6703_64a1_4682074b029d -->|calls| 9d1392a2_5443_c8ce_e585_6fe9e0bfabff
  style b6802fea_a8be_6703_64a1_4682074b029d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Override
	public void cleanUp() {
		LoggerContext context = getLoggerContext();
		markAsUninitialized(context);
		super.cleanUp();
		if (isBridgeHandlerAvailable()) {
			removeJdkLoggingBridgeHandler();
		}
		context.getStatusManager().clear();
		context.getTurboFilterList().remove(SUPPRESS_ALL_FILTER);
	}

Domain

Subdomains

Frequently Asked Questions

What does cleanUp() do?
cleanUp() is a function in the spring-boot codebase.
What does cleanUp() call?
cleanUp() calls 5 function(s): cleanUp, getLoggerContext, isBridgeHandlerAvailable, markAsUninitialized, removeJdkLoggingBridgeHandler.

Analyze Your Own Codebase

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

Try Supermodel Free