...
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
By default Camel uses a regular logging that logs every exchange. However Camel also ships with a Throughput logger that is used if the groupSize
option is specified.
Options
Option | Default | Type | Description |
---|---|---|---|
groupSize | null | Integer | An integer that specifies a group size for throughput logging. By default regular logging is used. |
Formatting
The log formats the execution of exchanges to log lines.
The log uses by default LogFormatter
to format the log output.
...
Option | Default | Description |
---|---|---|
showExchangeId | false | To output the unique exchange id. |
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 |
Samples
TODO:
Include Page | ||||
---|---|---|---|---|
|
...