[ https://issues.apache.org/jira/browse/NIFI-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902656#comment-14902656
]
ASF GitHub Bot commented on NIFI-985:
-------------------------------------
Github user apiri commented on a diff in the pull request:
https://github.com/apache/nifi/pull/90#discussion_r40087962
--- Diff: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/LogAttribute.java
---
@@ -79,6 +79,13 @@
.allowableValues("true", "false")
.build();
+ public static final PropertyDescriptor LOG_PREFIX = new PropertyDescriptor.Builder()
--- End diff --
Would be good to have this property support NiFi's Expression Language.
> Custom log prefix for LogAttribute processor
> --------------------------------------------
>
> Key: NIFI-985
> URL: https://issues.apache.org/jira/browse/NIFI-985
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Joe Mészáros
> Priority: Minor
> Labels: improvement, log
> Attachments: log_prefix.png
>
>
> When you have a data flow with a bunch of LogAttribute processors it is really hard to
identify the right LogAttribute processor in the log file and distinguish the output of different
LogAttribute processors.
> There is a new property, called log prefix, which helps the user to set a custom log
prefix for each Log Attribute processor, which will appear in the log output of the processor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|