diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java index 6043c965f9..d546feb577 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java @@ -385,7 +385,6 @@ public class SpringApplication { if (this.logStartupInfo) { logStartupInfo(context.getParent() == null); logStartupProfileInfo(context); - logStartupAotMode(); } // Add boot specific singleton beans ConfigurableListableBeanFactory beanFactory = context.getBeanFactory(); @@ -641,15 +640,6 @@ public class SpringApplication { } } - /** - * Called to log the AOT mode. - */ - protected void logStartupAotMode() { - if (AotDetector.useGeneratedArtifacts()) { - logger.info("AOT mode enabled"); - } - } - private List quoteProfiles(String[] profiles) { return Arrays.stream(profiles).map((profile) -> "\"" + profile + "\"").toList(); }