Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Available as of Camel 2.0

When you run Camel with DEBUG level as logging, it will log the messages and its content from time to time.
As some messages can contain very big payloads Camel will by default clip the log message and only show the first 1000 chars.

...

You can customize the limit when Camel clips the body in the DEBUG log.
You can use a limit of 0 or negative to disable it so the entire body is shown.

From Camel 2.12 onwards, setting a negative value, such as -1, means the message body is not logged. For earlier Camel versions, you would need to set the value to 1, and have the first char logged.

Customizing from Java DSL

...