CAMEL-7373: Reduce logging noise on startup.

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b9701bfe
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b9701bfe
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b9701bfe

Branch: refs/heads/master
Commit: b9701bfe86a78de9b48d1db3da02e781796cf50b
Parents: cbd93fc
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Apr 23 15:35:54 2014 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Apr 23 15:36:38 2014 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/model/LogDefinition.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b9701bfe/camel-core/src/main/java/org/apache/camel/model/LogDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/LogDefinition.java 
b/camel-core/src/main/java/org/apache/camel/model/LogDefinition.java
index 7aa000e..27f6c20 100644
--- a/camel-core/src/main/java/org/apache/camel/model/LogDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/LogDefinition.java
@@ -100,10 +100,10 @@ public class LogDefinition extends 
NoOutputDefinition<LogDefinition> {
             Map<String, Logger> availableLoggers = 
routeContext.lookupByType(Logger.class);
             if (availableLoggers.size() == 1) {
                 logger = availableLoggers.values().iterator().next();
-                LOG.info("Using custom Logger: {}", logger);
+                LOG.debug("Using custom Logger: {}", logger);
             } else if (availableLoggers.size() > 1) {
                 // we should log about this somewhere...
-                LOG.info("More than one {} instance found in the registry. 
Falling back to create logger by name.", Logger.class.getName());
+                LOG.debug("More than one {} instance found in the registry. 
Falling back to create logger by name.", Logger.class.getName());
             }
         }
 
@@ -111,7 +111,7 @@ public class LogDefinition extends 
NoOutputDefinition<LogDefinition> {
             String name = getLogName();
             if (name == null) {
                 name = routeContext.getRoute().getId();
-                LOG.info("The LogName is null. Falling back to create logger 
by using the route id {}.", name);
+                LOG.debug("The LogName is null. Falling back to create logger 
by using the route id {}.", name);
             }
             logger = LoggerFactory.getLogger(name);
         }

Reply via email to