Repository: camel
Updated Branches:
  refs/heads/master 468d644a2 -> 6769dd279


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

Branch: refs/heads/master
Commit: 6769dd279adb7352f00ea2aeba2d528c24936eb8
Parents: 468d644
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:50: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/6769dd27/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);
         }
     }

Reply via email to