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.

NameDefault ValueAllowable ValuesDescription
Log Levelinfo
  • trace
  • debug
  • info
  • warn
  • error
The Log Level to use when logging the message
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Log 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 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.