camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [1/9] git commit: CAMEL-7863: Improve logging message and reduce verbosity from INFO to debug
Date Fri, 26 Sep 2014 07:10:31 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.12.x d21dbde45 -> c288a7d19
  refs/heads/camel-2.13.x a7b7206db -> 3a5497afc
  refs/heads/camel-2.14.x 58b60b264 -> efc285945


CAMEL-7863: Improve logging message and reduce verbosity from INFO to debug


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

Branch: refs/heads/camel-2.14.x
Commit: a21b68d4f76545a742f2886e40854e2b14b2307a
Parents: 58b60b2
Author: david <david@davidkarlsen.com>
Authored: Thu Sep 25 19:57:06 2014 +0200
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Fri Sep 26 15:06:13 2014 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/cxf/CxfProducer.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a21b68d4/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfProducer.java
b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfProducer.java
index 8246c4f..28e9913 100644
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfProducer.java
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfProducer.java
@@ -332,11 +332,11 @@ public class CxfProducer extends DefaultProducer implements AsyncProcessor
{
         BindingOperationInfo answer = null;
         String lp = ex.getIn().getHeader(CxfConstants.OPERATION_NAME, String.class);
         if (lp == null) {
-            LOG.info("CxfProducer cannot find the {} from message header, try to use the
defaultOperationName", CxfConstants.OPERATION_NAME);
+            LOG.debug("CxfProducer cannot find the {} from message header, trying with defaultOperationName",
CxfConstants.OPERATION_NAME);
             lp = endpoint.getDefaultOperationName();
         }
         if (lp == null) {
-            LOG.info("CxfProducer cannot find the {} from message header and there is no
DefaultOperationName setting, CxfProducer will pick up the first available operation.",
+            LOG.debug("CxfProducer cannot find the {} from message header and there is no
DefaultOperationName setting, CxfProducer will pick up the first available operation.",
                      CxfConstants.OPERATION_NAME);
             Collection<BindingOperationInfo> bois = 
                 client.getEndpoint().getEndpointInfo().getBinding().getOperations();


Mime
View raw message