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

load() — spring-boot Function Reference

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

Function java GradlePlugin DslExtensions calls 7 called by 5

Entity Profile

Dependency Diagram

graph TD
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a["load()"]
  a612fb67_9d9b_395e_2dab_ebd8c09b7ea7["loadDefaults()"]
  a612fb67_9d9b_395e_2dab_ebd8c09b7ea7 -->|calls| 1713cec4_0f07_a26a_cf7f_ab9b57549a5a
  a467c6c2_acad_f525_3458_320f63fa80b4["loadConfiguration()"]
  a467c6c2_acad_f525_3458_320f63fa80b4 -->|calls| 1713cec4_0f07_a26a_cf7f_ab9b57549a5a
  6c72df89_25e5_64d0_2ed8_884a54431f88["reconfigure()"]
  6c72df89_25e5_64d0_2ed8_884a54431f88 -->|calls| 1713cec4_0f07_a26a_cf7f_ab9b57549a5a
  5ba3f868_a29c_7e6a_f220_04c9036b258c["loadOverride()"]
  5ba3f868_a29c_7e6a_f220_04c9036b258c -->|calls| 1713cec4_0f07_a26a_cf7f_ab9b57549a5a
  f36591fb_c906_3949_739c_9920306a7865["reinitialize()"]
  f36591fb_c906_3949_739c_9920306a7865 -->|calls| 1713cec4_0f07_a26a_cf7f_ab9b57549a5a
  83b19da4_a45e_2441_f89a_92502556674a["getOverrides()"]
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a -->|calls| 83b19da4_a45e_2441_f89a_92502556674a
  ec28bceb_afae_dbcc_dc04_34cec403ab77["getEnvironment()"]
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a -->|calls| ec28bceb_afae_dbcc_dc04_34cec403ab77
  3161e68f_7653_889d_8e48_3167c6148b62["applySystemProperties()"]
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a -->|calls| 3161e68f_7653_889d_8e48_3167c6148b62
  6c72df89_25e5_64d0_2ed8_884a54431f88["reconfigure()"]
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a -->|calls| 6c72df89_25e5_64d0_2ed8_884a54431f88
  412405e1_afb7_ef0a_b22d_5edc2df0b828["getLoggerContext()"]
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a -->|calls| 412405e1_afb7_ef0a_b22d_5edc2df0b828
  5ea8357e_a689_1ed1_dd1d_d85bc3ac4c59["getResource()"]
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a -->|calls| 5ea8357e_a689_1ed1_dd1d_d85bc3ac4c59
  272568bf_02f3_72db_ef7c_d7db470595d1["getClassLoader()"]
  1713cec4_0f07_a26a_cf7f_ab9b57549a5a -->|calls| 272568bf_02f3_72db_ef7c_d7db470595d1
  style 1713cec4_0f07_a26a_cf7f_ab9b57549a5a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	private void load(LoggingInitializationContext initializationContext, String location, @Nullable LogFile logFile) {
		List<String> overrides = getOverrides(initializationContext);
		Environment environment = initializationContext.getEnvironment();
		Assert.state(environment != null, "'environment' must not be null");
		applySystemProperties(environment, logFile);
		reconfigure(location, overrides);
	}

Domain

Subdomains

Frequently Asked Questions

What does load() do?
load() is a function in the spring-boot codebase.
What does load() call?
load() calls 7 function(s): applySystemProperties, getClassLoader, getEnvironment, getLoggerContext, getOverrides, getResource, reconfigure.
What calls load()?
load() is called by 5 function(s): loadConfiguration, loadDefaults, loadOverride, reconfigure, reinitialize.

Analyze Your Own Codebase

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

Try Supermodel Free