camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [1/2] git commit: CAMEL-7863: Improve logging message and reduce verbosity from INFO to debug
Date Fri, 26 Sep 2014 06:05:43 GMT
Repository: camel
Updated Branches:
  refs/heads/master b1e84ee9b -> 62f08f081


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/37250ba0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/37250ba0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/37250ba0

Branch: refs/heads/master
Commit: 37250ba0283b86ad61fde0c331097d6867acd2c9
Parents: b1e84ee
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 10:38:28 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/37250ba0/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 70df6e2..51520ad 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
@@ -336,11 +336,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