Brandon DeVries created NIFI-3974:
-------------------------------------
Summary: LogAttribute: Specify CharSet for logging payload
Key: NIFI-3974
URL: https://issues.apache.org/jira/browse/NIFI-3974
Project: Apache NiFi
Issue Type: Bug
Reporter: Brandon DeVries
Priority: Minor
Currently, LogAttribute\[1] uses a deprecated IOUtils.toString() method\[2]
when logging the payload of a FlowFile. This does not take the desired
charset, instead using the default. This processor should have a property
allowing specification of the character encoding to use.
\[1]
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/LogAttribute.java#L283
\[2]
https://commons.apache.org/proper/commons-io/javadocs/api-2.5/org/apache/commons/io/IOUtils.html#toString%28java.io.InputStream%29
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)