Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Div
classconfluenceTableSmall

Option

Default

Description

maxChars

 

Limits the number of characters logged per line. The default value, from Camel 2.9 is 10000.

multiline

false

If true, each piece of information is logged on a new line.

showAll

false

Quick option for turning all options on. (multilinemaxChars has to be manually set if to be used)

showBody

true

Show the IN body.

showBodyType

true

Show the IN body Java type.

showCaughtException

false

If the exchange has a caught exception, show the exception message (no stack trace).

A caught exception is stored as a property on the exchange (using the key Exchange.EXCEPTION_CAUGHT) and for instance a doCatch can catch exceptions.

See Try Catch Finally.

showException

false

If the exchange has an exception, show the exception message (no stack trace).

showExchangeId

false

Show the unique exchange ID.

showExchangePattern

true

Shows the Message Exchange Pattern (or MEP for short).

showFiles

false

Camel 2.9: Whether Camel should show file bodies or not, e.g., such as java.io.File.

showFuture

false

Whether Camel should show java.util.concurrent.Future bodies or not. If enabled Camel could potentially wait until the Future task is done. Will not wait, by default.

showHeaders

false

Show the IN message headers.

showOut

false

If the exchange has an OUT message, show the OUT message.

showProperties

false

Show the exchange properties.

showStackTrace

false

Show the stack trace, if an exchange has an exception. Only effective if one of showAll, showException or showCaughtException are enabled.

showStreams

false

Camel 2.8: Whether Camel should show stream bodies or not, e.g., such as java.io.InputStream.Note: if

Tip

If you enable this option then you may not be able later to access the message body as the stream have already been read by this logger.

To remedy this you will have to use Stream caching.

skipBodyLineSeparator

true

Camel 2.12.2: Whether to skip line separators when logging the message body. This will log the message body on a single line.

Set to false to preserve any line separators present in the body, therefore logging the body as is.

...