Home / Class/ RootLogLevelConfiguratorTests Class — spring-boot Architecture

RootLogLevelConfiguratorTests Class — spring-boot Architecture

Architecture documentation for the RootLogLevelConfiguratorTests class in RootLogLevelConfiguratorTests.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/logback/RootLogLevelConfiguratorTests.java lines 32–42

class RootLogLevelConfiguratorTests {

	@Test
	void shouldSetRootLogLevelToInfo() {
		LoggerContext context = new LoggerContext();
		assertThat(context.getLogger(Logger.ROOT_LOGGER_NAME).getLevel()).isEqualTo(Level.DEBUG);
		assertThat(new RootLogLevelConfigurator().configure(context)).isEqualTo(ExecutionStatus.INVOKE_NEXT_IF_ANY);
		assertThat(context.getLogger(Logger.ROOT_LOGGER_NAME).getLevel()).isEqualTo(Level.INFO);
	}

}

Analyze Your Own Codebase

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

Try Supermodel Free