diff --git a/spring-integration-file/src/main/java/org/springframework/integration/file/remote/synchronizer/AbstractInboundFileSynchronizer.java b/spring-integration-file/src/main/java/org/springframework/integration/file/remote/synchronizer/AbstractInboundFileSynchronizer.java index 0fce2582e4..4994e0db5b 100644 --- a/spring-integration-file/src/main/java/org/springframework/integration/file/remote/synchronizer/AbstractInboundFileSynchronizer.java +++ b/spring-integration-file/src/main/java/org/springframework/integration/file/remote/synchronizer/AbstractInboundFileSynchronizer.java @@ -343,11 +343,12 @@ public abstract class AbstractInboundFileSynchronizer } }); if (this.logger.isDebugEnabled()) { - this.logger.debug(transferred + " files transferred"); + this.logger.debug(transferred + " files transferred from '" + this.evaluatedRemoteDirectory + "'"); } } catch (Exception e) { - throw new MessagingException("Problem occurred while synchronizing remote to local directory", e); + throw new MessagingException("Problem occurred while synchronizing '" + + this.evaluatedRemoteDirectory + "' to local directory", e); } }