From fa998287ab37b775b7c4038867fcbf1da5943303 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 5 Nov 2013 11:28:01 +0000 Subject: [PATCH] Only log report if INFO enabled --- .../boot/autoconfigure/report/AutoConfigurationReport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/report/AutoConfigurationReport.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/report/AutoConfigurationReport.java index 122f8320de..193a670198 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/report/AutoConfigurationReport.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/report/AutoConfigurationReport.java @@ -139,7 +139,7 @@ public class AutoConfigurationReport implements ApplicationContextAware, scanPositiveDecisionsForBeansBootCreated(); } finally { - if (shouldLogReport()) { + if (shouldLogReport() && logger.isInfoEnabled()) { logger.info("Created beans:"); for (CreatedBeanInfo info : this.beansCreated) { logger.info(info);