第 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:

Expand
PropertyNameDescriptionTypeDefaultExample

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.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部