diff options
author | gjoranv <gv@yahoo-inc.com> | 2016-06-27 11:17:45 +0200 |
---|---|---|
committer | gjoranv <gv@yahoo-inc.com> | 2016-06-27 11:17:45 +0200 |
commit | ed1699c610f8c84aad2a7930d7d0e2d9e25ebfe9 (patch) | |
tree | 4fcf7f92abd31c6edad3648f5e01a0dfeb5b9f3a /container-di | |
parent | 05f1d4c28ba0524297a9442a9b7befc344c93c44 (diff) |
Reduce log level for using the Guice injector.
Diffstat (limited to 'container-di')
-rw-r--r-- | container-di/src/main/scala/com/yahoo/container/di/componentgraph/core/ComponentGraph.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/container-di/src/main/scala/com/yahoo/container/di/componentgraph/core/ComponentGraph.scala b/container-di/src/main/scala/com/yahoo/container/di/componentgraph/core/ComponentGraph.scala index fe0aa2fd001..b9058318116 100644 --- a/container-di/src/main/scala/com/yahoo/container/di/componentgraph/core/ComponentGraph.scala +++ b/container-di/src/main/scala/com/yahoo/container/di/componentgraph/core/ComponentGraph.scala @@ -8,6 +8,8 @@ import com.yahoo.config.ConfigInstance import java.lang.annotation.{Annotation => JavaAnnotation} import java.lang.IllegalStateException +import com.yahoo.log.LogLevel + import collection.mutable import annotation.tailrec @@ -209,7 +211,7 @@ class ComponentGraph(val generation: Long = 0) { lookupGlobalComponent(key).getOrElse { val instance = try { - log.info("Trying the fallback injector to create" + messageForNoGlobalComponent(clazz, node)) + log.log(LogLevel.DEBUG, "Trying the fallback injector to create" + messageForNoGlobalComponent(clazz, node)) fallbackInjector.getInstance(key).asInstanceOf[AnyRef] } catch { case e: ConfigurationException => |