You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Brandon DeVries (JIRA)" <ji...@apache.org> on 2016/07/22 15:18:20 UTC
[jira] [Created] (NIFI-2362) BinFiles: incorrect error logging
Brandon DeVries created NIFI-2362:
-------------------------------------
Summary: BinFiles: incorrect error logging
Key: NIFI-2362
URL: https://issues.apache.org/jira/browse/NIFI-2362
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 0.7.0
Reporter: Brandon DeVries
Priority: Minor
In BinFile\[1\], the error logging line:
{code}
logger.error("Failed to process bundle of {} files due to {}", new Object[]{binCopy.size(), e});
{code}
should be:
{code}
logger.error("Failed to process bundle of {} files", new Object[]{binCopy.size()}, e);
{code}
(the exception "e" should be outside the Object array, so you can get a stack trace if in DEBUG mode)
[\1\] https://github.com/apache/nifi/blob/rel/nifi-0.7.0/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/BinFiles.java#L230
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)