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)