camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r730681 - /activemq/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java
Date Fri, 02 Jan 2009 08:51:20 GMT
Author: davsclaus
Date: Fri Jan  2 00:51:20 2009
New Revision: 730681

URL: http://svn.apache.org/viewvc?rev=730681&view=rev
Log:
idempotent logning reduced to trace instead of WARN as jon did on the file component

Modified:
    activemq/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java

Modified: activemq/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java?rev=730681&r1=730680&r2=730681&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java
(original)
+++ activemq/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java
Fri Jan  2 00:51:20 2009
@@ -250,7 +250,9 @@
             return false;
         } else if (endpoint.isIdempotent() && endpoint.getIdempotentRepository().contains(file.getAbsolutelFileName()))
{
             // use file.getAbsoluteFileName as key for the idempotent repository to support
files with same name but in different folders
-            log.warn("RemoteFileConsumer is idempotent and the file has been consumed before.
Will skip this remote file: " + file);
+            if (log.isTraceEnabled()) {
+                log.trace("RemoteFileConsumer is idempotent and the file has been consumed
before. Will skip this remote file: " + file);
+            }
             return false;
         }
 



Mime
View raw message