Browse Source

Only log report if INFO enabled

pull/118/merge
Dave Syer 12 years ago
parent
commit
fa998287ab
  1. 2
      spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/report/AutoConfigurationReport.java

2
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/report/AutoConfigurationReport.java

@ -139,7 +139,7 @@ public class AutoConfigurationReport implements ApplicationContextAware, @@ -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);

Loading…
Cancel
Save