Skip to content

Commit 1678eaa

Browse files
committed
Turn down logging in DefaultSingletonBeanRegistry
Reduce INFO level destroy logging to DEBUG Issue: SPR-10758
1 parent 4390591 commit 1678eaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultSingletonBeanRegistry.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ public String[] getDependenciesForBean(String beanName) {
448448
}
449449

450450
public void destroySingletons() {
451-
if (logger.isInfoEnabled()) {
452-
logger.info("Destroying singletons in " + this);
451+
if (logger.isDebugEnabled()) {
452+
logger.debug("Destroying singletons in " + this);
453453
}
454454
synchronized (this.singletonObjects) {
455455
this.singletonsCurrentlyInDestruction = true;

0 commit comments

Comments
 (0)