LogMessage
Description
Emits a log message at the specified log level
Tags
attributes, logging
Properties
In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Log Level * | log-level | info | The Log Level to use when logging the message: [trace, debug, info, warn, error] Supports Expression Language, using FlowFile attributes and Environment variables. | |
Log prefix | log-prefix | Log prefix appended to the log lines. It helps to distinguish the output of multiple LogMessage processors. Supports Expression Language, using FlowFile attributes and Environment variables. | ||
Log message | log-message | The log message to emit Supports Expression Language, using FlowFile attributes and Environment variables. |
Dynamic Properties
This component does not support dynamic properties.
Relationships
Name | Description |
---|---|
success | All FlowFiles are routed to this relationship |
Reads Attributes
This processor does not read attributes.
Writes Attributes
This processor does not write attributes.
State Management
This component does not store state.
Restricted
This component is not restricted.
Input Requirement
This component requires an incoming relationship.
System Resource Considerations
This component does not specify system resource considerations.