Only log report if INFO enabled
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user