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

loggingGroupsDefaultsAreApplied() — spring-boot Function Reference

Architecture documentation for the loggingGroupsDefaultsAreApplied() function in LoggingApplicationListenerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  445b0a92_bcd5_9b21_aa03_1355c18c583c["loggingGroupsDefaultsAreApplied()"]
  e4941a37_d532_8edb_200f_24a620639c51["addPropertiesToEnvironment()"]
  445b0a92_bcd5_9b21_aa03_1355c18c583c -->|calls| e4941a37_d532_8edb_200f_24a620639c51
  2708db62_8b10_9bf2_e348_171895b093f2["initialize()"]
  445b0a92_bcd5_9b21_aa03_1355c18c583c -->|calls| 2708db62_8b10_9bf2_e348_171895b093f2
  a74a6404_ac0b_ef50_4554_48366dd90b97["getEnvironment()"]
  445b0a92_bcd5_9b21_aa03_1355c18c583c -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  49a45454_f203_2fd5_2d77_322abb416244["getClassLoader()"]
  445b0a92_bcd5_9b21_aa03_1355c18c583c -->|calls| 49a45454_f203_2fd5_2d77_322abb416244
  dcbcbe01_b7a3_1785_715a_133e4b13e5f4["assertTraceEnabled()"]
  445b0a92_bcd5_9b21_aa03_1355c18c583c -->|calls| dcbcbe01_b7a3_1785_715a_133e4b13e5f4
  style 445b0a92_bcd5_9b21_aa03_1355c18c583c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java lines 587–597

	@Test
	void loggingGroupsDefaultsAreApplied() {
		addPropertiesToEnvironment(this.context, "logging.level.web=TRACE");
		this.listener.initialize(this.context.getEnvironment(), getClassLoader());
		assertTraceEnabled("org.springframework.core", false);
		assertTraceEnabled("org.springframework.core.codec", true);
		assertTraceEnabled("org.springframework.http", true);
		assertTraceEnabled("org.springframework.web", true);
		assertTraceEnabled("org.springframework.boot.actuate.endpoint.web", true);
		assertTraceEnabled("org.springframework.boot.web.servlet.ServletContextInitializerBeans", true);
	}

Domain

Subdomains

Frequently Asked Questions

What does loggingGroupsDefaultsAreApplied() do?
loggingGroupsDefaultsAreApplied() is a function in the spring-boot codebase.
What does loggingGroupsDefaultsAreApplied() call?
loggingGroupsDefaultsAreApplied() calls 5 function(s): addPropertiesToEnvironment, assertTraceEnabled, getClassLoader, getEnvironment, initialize.

Analyze Your Own Codebase

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

Try Supermodel Free