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

loadDefaults() — spring-boot Function Reference

Architecture documentation for the loadDefaults() function in Log4J2LoggingSystem.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  a612fb67_9d9b_395e_2dab_ebd8c09b7ea7["loadDefaults()"]
  af5c3bf3_23e4_0c15_5388_33a818bb8c5b["loadDefaults()"]
  a612fb67_9d9b_395e_2dab_ebd8c09b7ea7 -->|calls| af5c3bf3_23e4_0c15_5388_33a818bb8c5b
  98ef4c45_8583_55d1_63b9_cc523f4d0e93["getPackagedConfigFile()"]
  a612fb67_9d9b_395e_2dab_ebd8c09b7ea7 -->|calls| 98ef4c45_8583_55d1_63b9_cc523f4d0e93
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a["load()"]
  a612fb67_9d9b_395e_2dab_ebd8c09b7ea7 -->|calls| 1713cec4_0f07_a26a_cf7f_ab9b57549a5a
  style a612fb67_9d9b_395e_2dab_ebd8c09b7ea7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystem.java lines 258–262

	@Override
	protected void loadDefaults(LoggingInitializationContext initializationContext, @Nullable LogFile logFile) {
		String location = getPackagedConfigFile((logFile != null) ? "log4j2-file.xml" : "log4j2.xml");
		load(initializationContext, location, logFile);
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does loadDefaults() do?
loadDefaults() is a function in the spring-boot codebase.
What does loadDefaults() call?
loadDefaults() calls 3 function(s): getPackagedConfigFile, load, loadDefaults.

Analyze Your Own Codebase

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

Try Supermodel Free