Only log report if INFO enabled

pull/118/merge
Dave Syer 11 years ago
parent 5ab2b472a8
commit fa998287ab

@ -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