Repository: camel Updated Branches: refs/heads/camel-2.18.x f376a01c8 -> a9539a33e
CAMEL-10841: Move operation will create a warning log message Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a9539a33 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a9539a33 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a9539a33 Branch: refs/heads/camel-2.18.x Commit: a9539a33ee1e7f57b6e00258ba4b10c7f6fe235a Parents: f376a01 Author: Stephan Siano <stephan.si...@sap.com> Authored: Thu Feb 16 10:50:15 2017 +0100 Committer: Stephan Siano <stephan.si...@sap.com> Committed: Thu Feb 16 10:57:15 2017 +0100 ---------------------------------------------------------------------- .../org/apache/camel/component/file/remote/SftpOperations.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/a9539a33/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java ---------------------------------------------------------------------- diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java index 24480d7..a2b4bcb 100644 --- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java +++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java @@ -435,7 +435,7 @@ public class SftpOperations implements RemoteFileOperations<ChannelSftp.LsEntry> channel.rm(name); return true; } catch (SftpException e) { - LOG.warn("Cannot delete file: " + name, e); + LOG.debug("Cannot delete file: " + name, e); throw new GenericFileOperationFailedException("Cannot delete file: " + name, e); } } @@ -447,7 +447,7 @@ public class SftpOperations implements RemoteFileOperations<ChannelSftp.LsEntry> channel.rename(from, to); return true; } catch (SftpException e) { - LOG.warn("Cannot rename file from: " + from + " to: " + to, e); + LOG.debug("Cannot rename file from: " + from + " to: " + to, e); throw new GenericFileOperationFailedException("Cannot rename file from: " + from + " to: " + to, e); } }