Log — Creates log messages using the Simple language
The Log pattern uses a simple language expression to write messages to the log. Messages
are logged at INFO level.
The Log pattern can be placed anywhere in the body of a route.
Table 8 describes the properties you can specify using the properties editor.
Table 8. Log Properties
| Name | Description |
|---|---|
| Message | Specifies a Simple language expression that defines the log message. |
| Marker | Specifies the name of an optional marker used to enrich logging messages. Conforming SLF4J logging implementations determine how the information conveyed by markers is used. |
| Inherit Error Handler | Specifies whether the node should use the error handler configured for the
route. The default is Disabled. |
| Log Name | Specifies the name of the log into which messages are written. |
| Logging Level | Specifies the logging level at which the message is recorded.
|
| Id | Specifies a unique identifier for the log. The Id can be used to refer to the log in the Camel XML file. |
| Description | Specifies a text description for the node. This description is included in the generated XML file, but it is informational only. It is not used by Apache Camel. |