From 99765e785f92cf01da12317c93e54c7b3daa535e Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Tue, 18 Oct 2022 09:05:57 +0200 Subject: [PATCH] Revert "Add info log message if AOT mode is enabled" This reverts commit 6cb7fb58975f142a096faba023450f2bdb4b389d. --- .../org/springframework/boot/SpringApplication.java | 10 ---------- 1 file changed, 10 deletions(-) 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(); }