Skip to main content

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 NameAPI NameDefault ValueAllowable ValuesDescription
Log Level *log-levelinfoThe Log Level to use when logging the message: [trace, debug, info, warn, error]

Supports Expression Language, using FlowFile attributes and Environment variables.
Log prefixlog-prefixLog 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 messagelog-messageThe log message to emit

Supports Expression Language, using FlowFile attributes and Environment variables.

Dynamic Properties

This component does not support dynamic properties.

Relationships

NameDescription
successAll 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.

See Also