[ https://issues.apache.org/jira/browse/NIFI-2362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15389794#comment-15389794 ]
Brandon DeVries commented on NIFI-2362: --------------------------------------- ...yeah, that looks like it should do it. We weren't seeing the logging we were expecting, and I assumed this was the issue (without really investigating too hard, shame on me). I'll have to see if we can replicate and go from there. > 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)