Child pages
  • How do I enable debug logging
Skip to end of metadata
Go to start of metadata

How do I enable debug logging?

Camel uses convention over configuration so sometimes its useful to turn on debug logging to see how Camel is operating and to try and diagnose issues.

Camel uses sfl4j which allows you to configure logging via, among others:

To enable debug logging we recommend you use log4j for logging then make sure your log4j.properties file enables DEBUG level logging for the org.apache.camel. package.

For example here is a log4j.properties file with debug Camel logging enabled

  • No labels

0 Comments