Skip to content

Commit dfb4213

Browse files
committed
Stop using LoggerContext#start
Closes gh-46035
1 parent 90c656c commit dfb4213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ protected void loadConfiguration(String location, @Nullable LogFile logFile, Lis
367367
configurations.add(overrideConfiguration);
368368
}
369369
}
370-
context.start(mergeConfigurations(configurations));
370+
context.reconfigure(mergeConfigurations(configurations));
371371
}
372372
catch (Exception ex) {
373373
throw new IllegalStateException("Could not initialize Log4J2 logging from " + location, ex);

0 commit comments

Comments
 (0)