Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Sometimes it would be very useful to have a NiFi processor, which can simply log messages as defined by the DataFlow Manager (DFM/operator).
Such functionality would be a powerful aid for debugging running NiFi dataflows. The DFM should be able to specify the single line log message using NiFi Expression Language. Similarly to the existing LogAttribute processor, the DataFlow Manager should be able to specify the log level (trace, debug, info, warn, error) at which the log line is written.
While the functionality can be achieved by combining UpdateAttribute and LogAttribute processor nodes, having to use three separate nodes (adding the log message as an attribute, logging the attribute, then removing the attribute from the flowfile's processing context) and a temporary attribute to convey the message is overly complex and clutters the flow diagram.
Attachments
Issue Links
- links to