[
https://issues.apache.org/jira/browse/NIFI-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011155#comment-16011155
]
ASF GitHub Bot commented on NIFI-3763:
--------------------------------------
Github user mattyb149 commented on the issue:
https://github.com/apache/nifi/pull/1737
+1 LGTM, ran the tests again and tried on a NiFi instance, using prefix
and/or message with and without Expression Language. Thanks again for the
great addition! Merging to master
> Add new processor to log user defined messages built with NiFi Expression
> Language
> ----------------------------------------------------------------------------------
>
> Key: NIFI-3763
> URL: https://issues.apache.org/jira/browse/NIFI-3763
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Core Framework
> Reporter: Peter Horvath
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)