mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Only log report if INFO enabled
This commit is contained in:
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…
Reference in New Issue
Block a user