Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F12C4200C41 for ; Thu, 16 Feb 2017 10:45:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EFD5E160B61; Thu, 16 Feb 2017 09:45:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4A22A160B6F for ; Thu, 16 Feb 2017 10:45:48 +0100 (CET) Received: (qmail 2007 invoked by uid 500); 16 Feb 2017 09:45:47 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 1997 invoked by uid 99); 16 Feb 2017 09:45:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2017 09:45:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 040FB1A085B for ; Thu, 16 Feb 2017 09:45:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RF0khEpFgVA5 for ; Thu, 16 Feb 2017 09:45:46 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9589C5F56F for ; Thu, 16 Feb 2017 09:45:45 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 75D47E0419 for ; Thu, 16 Feb 2017 09:45:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 11DB02411F for ; Thu, 16 Feb 2017 09:45:42 +0000 (UTC) Date: Thu, 16 Feb 2017 09:45:42 +0000 (UTC) From: "Stephan Siano (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-10841) Move operation will create a warning log message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Feb 2017 09:45:49 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15869631#comment-15869631 ] Stephan Siano commented on CAMEL-10841: --------------------------------------- unfortunately the deleteFile calls are spread all over the camel-file and the camel-ftp components, so changing the way exceptions are thrown for this issue is not reasonable. I will just reduce the log level for the log to debug. This will normally not fill up the log with confusing entries, but will make it possible to analyze issues if they occur. Other similar issues (e.g. when creating directories) are also logged with debug in the file component. > Move operation will create a warning log message > ------------------------------------------------ > > Key: CAMEL-10841 > URL: https://issues.apache.org/jira/browse/CAMEL-10841 > Project: Camel > Issue Type: Bug > Components: camel-ftp > Affects Versions: 2.17.5, 2.18.2 > Reporter: Stephan Siano > Assignee: Stephan Siano > Priority: Minor > > I'm using an enpoint like this one : > - sftp://myserver/folder1/folder2?idempotent=true&stepwise=false&...&move=../archive > With 2.18.2, I have logs like this : > {noformat} > 2017-02-15T13:23:47.314 [Camel (camel-1) thread #10 - sftp://myserver/folder1/folder2] WARN o.a.c.c.file.remote.SftpOperations - Cannot delete file: folder1/folder2/../archive/myfile.txt > com.jcraft.jsch.SftpException: No such file > at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2873) > at com.jcraft.jsch.ChannelSftp.rm(ChannelSftp.java:1985) > at org.apache.camel.component.file.remote.SftpOperations.deleteFile(SftpOperations.java:435) > at org.apache.camel.component.file.strategy.GenericFileProcessStrategySupport.renameFile(GenericFileProcessStrategySupport.java:100) > {noformat} > the issue was introduced with CAMEL-10712 -- This message was sent by Atlassian JIRA (v6.3.15#6346)