[ 
https://issues.apache.org/jira/browse/NIFI-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071702#comment-16071702
 ] 

ASF subversion and git services commented on NIFI-3974:
-------------------------------------------------------

Commit 8b5342dec0c5d7f60a8c4d3f6d52b7eae9645d84 in nifi's branch 
refs/heads/master from [~pvillard]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=8b5342d ]

NIFI-3974 - Added charset in LogAttribute

This closes #1967

Signed-off-by: Tony Kurc <[email protected]>


> 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
>            Assignee: Pierre Villard
>            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.4.14#64029)

Reply via email to