From b704d62aad99c54dde89ae2ba17c5cfd160d4593 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 19 Jul 2013 13:17:17 -0700 Subject: [PATCH] Turn down logging in DefaultListableBeanFactory Reduce INFO level startup logging to DEBUG Issue: SPR-10758 --- .../beans/factory/support/DefaultListableBeanFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java b/spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java index 7bcc5caba1..aba52d5496 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java @@ -609,8 +609,8 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto @Override public void preInstantiateSingletons() throws BeansException { - if (this.logger.isInfoEnabled()) { - this.logger.info("Pre-instantiating singletons in " + this); + if (this.logger.isDebugEnabled()) { + this.logger.debug("Pre-instantiating singletons in " + this); } List beanNames; synchronized (this.beanDefinitionMap) {