Repository: camel
Updated Branches:
  refs/heads/camel-2.17.x da7d0aadd -> 8dddc4fdb


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/8dddc4fd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8dddc4fd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8dddc4fd

Branch: refs/heads/camel-2.17.x
Commit: 8dddc4fdb3862a99ae2b21d27b748f52bf19bc3c
Parents: da7d0aa
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 11:00:41 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/8dddc4fd/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 f4c7dcd..7c2aad5 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
@@ -425,7 +425,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);
         }
     }
@@ -437,7 +437,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);
         }
     }

Reply via email to