第52章 Log Sink
A sink that logs all data that it receives, useful for debugging purposes.
52.1. Configuration Options リンクのコピーリンクがクリップボードにコピーされました!
The following table summarizes the configuration options available for the log-sink Kamelet:
| Property | Name | Description | Type | Default | Example |
|---|---|---|---|---|---|
| loggerName | Logger Name | Name of the logging category to use | string | log-sink | |
| level | Log Level | Logging level to use | string | INFO | |
| logMask | Log Mask | Mask sensitive information like password or passphrase in the log | boolean | False | |
| marker | Marker | An optional Marker name to use | string | ||
| multiline | Multiline | If enabled then each information is outputted on a newline | boolean | False | |
| showAllProperties | Show All Properties | Show all of the exchange properties (both internal and custom) | boolean | False | |
| showBody | Show Body | Show the message body | boolean | True | |
| showBodyType | Show Body Type | Show the body Java type | boolean | True | |
| showExchangePattern | Show Exchange Pattern | Shows the Message Exchange Pattern (or MEP for short) | boolean | True | |
| showHeaders | Show Headers | Show the headers received | boolean | False | |
| showProperties | Show Properties | Show the exchange properties (only custom). Use showAllProperties to show both internal and custom properties. | boolean | False | |
| showStreams | Show Streams | Show the stream bodies (they may not be available in following steps) | boolean | False | |
| showCachedStreams | Show Cached Streams | Whether Camel should show cached stream bodies or not. | boolean | True |
* = Fields marked with an asterisk are mandatory.