Commit fa998287 authored by Dave Syer's avatar Dave Syer

Only log report if INFO enabled

parent 5ab2b472
...@@ -139,7 +139,7 @@ public class AutoConfigurationReport implements ApplicationContextAware, ...@@ -139,7 +139,7 @@ public class AutoConfigurationReport implements ApplicationContextAware,
scanPositiveDecisionsForBeansBootCreated(); scanPositiveDecisionsForBeansBootCreated();
} }
finally { finally {
if (shouldLogReport()) { if (shouldLogReport() && logger.isInfoEnabled()) {
logger.info("Created beans:"); logger.info("Created beans:");
for (CreatedBeanInfo info : this.beansCreated) { for (CreatedBeanInfo info : this.beansCreated) {
logger.info(info); logger.info(info);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment