I'm trying to migrate from Camel 2.X to 3.X and have a question regarding camel logging.
I'm able to set route tracing by enabling .tracing() on camel context. To debug some issues just route tracing is not enough and it is necessary to be able to view camel logs in trace.
I have enabled the trace level in our custom log4j configuration as below.
name="org.apache.camel" level="TRACE"
But I'm unable to get the trace logs from Camel.
For ex. Logs like:
if (LOG.isTraceEnabled()) { LOG.trace("Waiting for asynchronous callback before continuing for exchangeId: {} -> {}", exchange.getExchangeId(), exchange); }
from DefaultAsyncProcessorAwaitManager.
Does anyone how to enable Camel trace logs or where to find some information on same?
Thanks!
I see TRACE logs when using the following log4j2 configuration: