Name
Log — Creates log messages using the Simple language
Usage
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.
Properties
Table 2.3 describes the properties you can specify using the properties editor.
Table 2.3. Log Properties
Name | Description |
---|---|
Message | Specifies the log message. |
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 Apache Camel configuration file. |
Description | Specifies a text description of the log. The description is included in the generated XML file. |