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

setLevelOfUnconfiguredLoggerDoesNotAffectRootConfiguration() — spring-boot Function Reference

Architecture documentation for the setLevelOfUnconfiguredLoggerDoesNotAffectRootConfiguration() function in Log4J2LoggingSystemTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  c5d379c8_eef0_e195_4792_b0091015ec29["setLevelOfUnconfiguredLoggerDoesNotAffectRootConfiguration()"]
  bffa5cc2_2336_d219_9e81_a81a831f09b1["initialize()"]
  c5d379c8_eef0_e195_4792_b0091015ec29 -->|calls| bffa5cc2_2336_d219_9e81_a81a831f09b1
  501f40c7_eea3_8197_664f_2a7d4a9c3264["beforeInitialize()"]
  c5d379c8_eef0_e195_4792_b0091015ec29 -->|calls| 501f40c7_eea3_8197_664f_2a7d4a9c3264
  121b7287_c247_a3cc_c719_79c9c639fbd5["setLogLevel()"]
  c5d379c8_eef0_e195_4792_b0091015ec29 -->|calls| 121b7287_c247_a3cc_c719_79c9c639fbd5
  eb70c58c_f118_cc50_2b70_0b13761cba5c["toString()"]
  c5d379c8_eef0_e195_4792_b0091015ec29 -->|calls| eb70c58c_f118_cc50_2b70_0b13761cba5c
  style c5d379c8_eef0_e195_4792_b0091015ec29 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystemTests.java lines 279–287

	@Test
	void setLevelOfUnconfiguredLoggerDoesNotAffectRootConfiguration(CapturedOutput output) {
		this.loggingSystem.beforeInitialize();
		this.loggingSystem.initialize(this.initializationContext, null, null);
		LogManager.getRootLogger().debug("Hello");
		this.loggingSystem.setLogLevel("foo.bar.baz", LogLevel.DEBUG);
		LogManager.getRootLogger().debug("Hello");
		assertThat(output.toString()).doesNotContain("Hello");
	}

Domain

Subdomains

Frequently Asked Questions

What does setLevelOfUnconfiguredLoggerDoesNotAffectRootConfiguration() do?
setLevelOfUnconfiguredLoggerDoesNotAffectRootConfiguration() is a function in the spring-boot codebase.
What does setLevelOfUnconfiguredLoggerDoesNotAffectRootConfiguration() call?
setLevelOfUnconfiguredLoggerDoesNotAffectRootConfiguration() calls 4 function(s): beforeInitialize, initialize, setLogLevel, toString.

Analyze Your Own Codebase

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

Try Supermodel Free