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

findLogger() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  a9d9bec5_abbc_9307_083b_2dc3c617a3e4["findLogger()"]
  d5a45f32_c776_3a3d_047f_0ffd69df1fe0["getLogger()"]
  d5a45f32_c776_3a3d_047f_0ffd69df1fe0 -->|calls| a9d9bec5_abbc_9307_083b_2dc3c617a3e4
  412405e1_afb7_ef0a_b22d_5edc2df0b828["getLoggerContext()"]
  a9d9bec5_abbc_9307_083b_2dc3c617a3e4 -->|calls| 412405e1_afb7_ef0a_b22d_5edc2df0b828
  d5a45f32_c776_3a3d_047f_0ffd69df1fe0["getLogger()"]
  a9d9bec5_abbc_9307_083b_2dc3c617a3e4 -->|calls| d5a45f32_c776_3a3d_047f_0ffd69df1fe0
  style a9d9bec5_abbc_9307_083b_2dc3c617a3e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	private @Nullable LoggerConfig findLogger(String name) {
		Configuration configuration = getLoggerContext().getConfiguration();
		if (configuration instanceof AbstractConfiguration abstractConfiguration) {
			return abstractConfiguration.getLogger(name);
		}
		return configuration.getLoggers().get(name);
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does findLogger() do?
findLogger() is a function in the spring-boot codebase.
What does findLogger() call?
findLogger() calls 2 function(s): getLogger, getLoggerContext.
What calls findLogger()?
findLogger() is called by 1 function(s): getLogger.

Analyze Your Own Codebase

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

Try Supermodel Free