[
https://issues.apache.org/jira/browse/NIFI-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151583#comment-15151583
]
ASF GitHub Bot commented on NIFI-1063:
--------------------------------------
Github user trkurc commented on the pull request:
https://github.com/apache/nifi/pull/226#issuecomment-185507421
Merged in! Thanks for the contribution!
> fix PutHDFS logger message when error is caught
> -----------------------------------------------
>
> Key: NIFI-1063
> URL: https://issues.apache.org/jira/browse/NIFI-1063
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 0.3.0
> Reporter: Tony Kurc
> Assignee: Tony Kurc
> Priority: Trivial
> Labels: beginner, newbie
>
> I don't believe this is the right "format string" for this message:
> {code}
> getLogger().error("Failed to write to HDFS due to {}", t);
> {code}
> This is what is shown in logs:
> {noformat}
> 2015-10-24 22:56:31,004 ERROR [Timer-Driven Process Thread-2]
> o.apache.nifi.processors.hadoop.PutHDFS
> [PutHDFS[id=3c30a474-86b4-45fc-b771-95d7a1b5054d]] Failed to write to HDFS
> due to {}
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)