[ 
https://issues.apache.org/jira/browse/NIFI-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard updated NIFI-3974:
---------------------------------
    Assignee: Pierre Villard
      Status: Patch Available  (was: Open)

> 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