LogMessage

Description:

Emits a log message at the specified log level

Tags:

attributes, logging

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Log Levellog-levelinfoThe Log Level to use when logging the message: [trace, debug, info, warn, error]
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Log prefixlog-prefixLog prefix appended to the log lines. It helps to distinguish the output of multiple LogMessage processors.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Log messagelog-messageThe log message to emit
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

Relationships:

NameDescription
successAll FlowFiles are routed to this relationship

Reads Attributes:

None specified.

Writes Attributes:

None specified.

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:

None specified.