Skip to content

Commit 99765e7

Browse files
committed
Revert "Add info log message if AOT mode is enabled"
This reverts commit 6cb7fb5.
1 parent c16c6bc commit 99765e7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java

-10
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ private void prepareContext(DefaultBootstrapContext bootstrapContext, Configurab
385385
if (this.logStartupInfo) {
386386
logStartupInfo(context.getParent() == null);
387387
logStartupProfileInfo(context);
388-
logStartupAotMode();
389388
}
390389
// Add boot specific singleton beans
391390
ConfigurableListableBeanFactory beanFactory = context.getBeanFactory();
@@ -641,15 +640,6 @@ protected void logStartupProfileInfo(ConfigurableApplicationContext context) {
641640
}
642641
}
643642

644-
/**
645-
* Called to log the AOT mode.
646-
*/
647-
protected void logStartupAotMode() {
648-
if (AotDetector.useGeneratedArtifacts()) {
649-
logger.info("AOT mode enabled");
650-
}
651-
}
652-
653643
private List<String> quoteProfiles(String[] profiles) {
654644
return Arrays.stream(profiles).map((profile) -> "\"" + profile + "\"").toList();
655645
}

0 commit comments

Comments
 (0)