ennishol opened a new issue #2099: URL: https://github.com/apache/camel-quarkus/issues/2099
Configured log to print MDC fields camel.exchangeId, camel.breadcrumbId and custom property 'traceId'. Only camel.exchangeId is printed in log, however twice as it is also the breadcrumbId. Code and log output: ``` quarkus.log.level=INFO quarkus.log.console.enable=true quarkus.log.console.color=true quarkus.log.console.format= (%t) %X{camel.exchangeId} %X{camel.breadcrumbId} %X{traceId} %s%e%n ``` ```java @ApplicationScoped public class SimpleRoute extends EndpointRouteBuilder { @Override public void configure() throws Exception { getContext().setUseMDCLogging(true); getContext().setUseBreadcrumb(true); from("timer://first?period=5000") .setHeader(Exchange.BREADCRUMB_ID, constant("bar")) .setProperty(Exchange.BREADCRUMB_ID, constant("bar")) .setProperty("traceId", constant("bar")) .setHeader("traceId", constant("bar")) .log("processing done"); } } ``` ```log (Camel (camel-26) thread #42 - timer://first) 0FC1A7169D4FB9B-0000000000000001 0FC1A7169D4FB9B-0000000000000001 processing done ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org