[
https://issues.apache.org/jira/browse/NIFI-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151577#comment-15151577
]
ASF subversion and git services commented on NIFI-1063:
-------------------------------------------------------
Commit 502aebc66aba2731949f7d482ac7c5285c9dfff6 in nifi's branch
refs/heads/master from [~pvillard]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=502aebc ]
NIFI-1063 Fixed exception logging
Fixed logging of an exception in PutHDFS
Reviewed by Tony Kurc ([email protected]). This closes #226
> 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)