You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Anthony Wood (JIRA)" <ji...@apache.org> on 2017/02/16 03:06:41 UTC
[jira] [Created] (CAMEL-10839) SFTP consumer logs WARN stacktrace
on every move to .camel
Anthony Wood created CAMEL-10839:
------------------------------------
Summary: SFTP consumer logs WARN stacktrace on every move to .camel
Key: CAMEL-10839
URL: https://issues.apache.org/jira/browse/CAMEL-10839
Project: Camel
Issue Type: Bug
Components: camel-ftp
Affects Versions: 2.18.2, 2.17.5
Reporter: Anthony Wood
Priority: Minor
The fix commited for CAMEL-10712 adds additional WARN-level logging with exception stack trace for a normally occurring situation: an SFTP consumer issuing a "delete" of {{.camel/$file}} prior to moving the consumed {{$file}} there.
{{GenericFileProcessStrategySupport.renameFile()}} tries to delete the "to" file prior to renaming, and rightly ignores the exception when the file does not (yet) exist. However {{SftpOperations.deleteFile()}} was modified in CAMEL-10712 to {{LOG.warn(e)}} before rethrowing. This is a regression in the logging and generates much noise.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)