You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/07/22 07:44:54 UTC

[camel] branch camel-3.4.x updated: CAMEL-15311: calling dumpTrace from traceBeforeRoute (#4027)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.4.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.4.x by this push:
     new 905e3e6  CAMEL-15311: calling dumpTrace from traceBeforeRoute (#4027)
905e3e6 is described below

commit 905e3e6d170a438fd9f66e2102962ee790616345
Author: Alexis Soto <le...@gmail.com>
AuthorDate: Wed Jul 22 03:41:14 2020 -0400

    CAMEL-15311: calling dumpTrace from traceBeforeRoute (#4027)
    
    Co-authored-by: Alex Soto <al...@envieta.com>
---
 .../src/main/java/org/apache/camel/impl/engine/DefaultTracer.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-base/src/main/java/org/apache/camel/impl/engine/DefaultTracer.java b/core/camel-base/src/main/java/org/apache/camel/impl/engine/DefaultTracer.java
index 79cf763..567417d 100644
--- a/core/camel-base/src/main/java/org/apache/camel/impl/engine/DefaultTracer.java
+++ b/core/camel-base/src/main/java/org/apache/camel/impl/engine/DefaultTracer.java
@@ -126,7 +126,7 @@ public class DefaultTracer extends ServiceSupport implements CamelContextAware,
         String data = exchangeFormatter.format(exchange);
         sb.append(data);
         String out = sb.toString();
-        LOG.info(out);
+        dumpTrace(out);
     }
 
     @Override