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 2023/03/06 07:11:48 UTC

[camel] branch camel-3.x updated (1de7b842d40 -> 788df1eab2e)

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

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


    from 1de7b842d40 CAMEL-19112: camel init - Should work with xxx.camel.yaml file names also
     new 80fb9cf8965 CAMEL-19017: Using tracing should output headers by default.
     new 788df1eab2e CAMEL-19017: Using tracing should output headers by default.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/java/org/apache/camel/impl/engine/DefaultTracer.java       | 2 +-
 docs/user-manual/modules/ROOT/pages/tracer.adoc                         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


[camel] 02/02: CAMEL-19017: Using tracing should output headers by default.

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 788df1eab2ef46b352e1cb150274129880ae5b2e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Mar 6 08:10:55 2023 +0100

    CAMEL-19017: Using tracing should output headers by default.
---
 docs/user-manual/modules/ROOT/pages/tracer.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/user-manual/modules/ROOT/pages/tracer.adoc b/docs/user-manual/modules/ROOT/pages/tracer.adoc
index a2845c74a8c..7d22edaa451 100644
--- a/docs/user-manual/modules/ROOT/pages/tracer.adoc
+++ b/docs/user-manual/modules/ROOT/pages/tracer.adoc
@@ -1,7 +1,7 @@
 = Tracer
 
 Camel's tracer is used for logging message details during routing, where
-you can see the route path of each message as they happen. Details of the message is also logged such as the message body.
+you can see the route path of each message as they happen. Details of the message is also logged such as the message body, and headers.
 
 TIP: There is an alternative tracer that captures the messages in a xref:backlog-tracer.adoc[Backlog Tracer].
 


[camel] 01/02: CAMEL-19017: Using tracing should output headers by default.

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 80fb9cf8965161a79cab2c8820b1404b2ee40840
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Mar 6 08:09:51 2023 +0100

    CAMEL-19017: Using tracing should output headers by default.
---
 .../src/main/java/org/apache/camel/impl/engine/DefaultTracer.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultTracer.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultTracer.java
index 6d25689fd5c..c41bcf034a7 100644
--- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultTracer.java
+++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultTracer.java
@@ -65,7 +65,7 @@ public class DefaultTracer extends ServiceSupport implements CamelContextAware,
         formatter.setShowExchangeId(true);
         formatter.setShowExchangePattern(false);
         formatter.setMultiline(false);
-        formatter.setShowHeaders(false);
+        formatter.setShowHeaders(true);
         formatter.setStyle(DefaultExchangeFormatter.OutputStyle.Default);
         setExchangeFormatter(formatter);
     }