martku commented on issue #3471:
URL: https://github.com/apache/camel-quarkus/issues/3471#issuecomment-1039045540


   I have probably a related behavior (see 
https://camel.zulipchat.com/#narrow/stream/257302-camel-quarkus/topic/use.20mdc.20logging.20and.20breadcrumb/near/271284700)
 trying to log the routeId and breadcrumbId of a transacted route with:
   
   ```java
   from("jms:queue/transacted?connectionFactory=#xaConnectionFactory")
       .routeId("transactedRoute")
       // remove this line and the routeId and breadcrumbId will be in the logs
       .transacted("PROPAGATION_REQUIRED")
       .log(LoggingLevel.INFO, "another message")
       .to("log:done?level=INFO");
   ```
   
   and
   
   ```java
   camel.main.useMdcLogging=true
   camel.main.useBreadcrumb=true
   quarkus.log.console.format=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c{3.}] (%t) 
[%X{camel.routeId}/%X{camel.breadcrumbId}] %s%e%n
   ```
   
   Maybe have also a look an that. Thanks


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to