Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: CAMEL-721

...

Code Block
log:loggingCategory[?level=loggingLevel][options]

Where loggingCategory is the name of the logging category to use and loggingLevel is the logging level such as DEBUG, INFO, WARN, ERROR - the default is INFO

Formatting

The log formats the execution of exchanges to log lines.
The log uses by default LogFormatter to format the log output.

TraceFormatter has the following options

Option

Default

Description

showExchangeId

false

To output the unique exchange id. Currently the breadcrumb is sufficient.

showProperties

false

Output the exchange properties

showHeaders

false

Output the in message headers

showBodyType

true

Output the in body Java type

showBody

true

Output the in body

showOut

false

If the exchange has an out message then its also shown

showAll

false

quick option for turning all options on

multiline

false

if enabled then each information is logged on a newline

Include Page
CAMEL:Endpoint See Also
CAMEL:Endpoint See Also

...