Revert "Add info log message if AOT mode is enabled"

This reverts commit 6cb7fb5897.
This commit is contained in:
Moritz Halbritter
2022-10-18 09:05:57 +02:00
parent c16c6bc3b5
commit 99765e785f

View File

@@ -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<String> quoteProfiles(String[] profiles) {
return Arrays.stream(profiles).map((profile) -> "\"" + profile + "\"").toList();
}