Log attempting to receive email under debug level instead of info (#3312)

This commit is contained in:
Filip Hrisafov
2020-06-18 18:06:00 +02:00
committed by GitHub
parent b4a82eb078
commit 9ad348b75f

View File

@@ -401,8 +401,8 @@ public abstract class AbstractMailReceiver extends IntegrationObjectSupport impl
}
private MimeMessage[] searchAndFilterMessages() throws MessagingException {
if (this.logger.isInfoEnabled()) {
this.logger.info("attempting to receive mail from folder [" + this.folder.getFullName() + "]");
if (this.logger.isDebugEnabled()) {
this.logger.debug("attempting to receive mail from folder [" + this.folder.getFullName() + "]");
}
Message[] messages = searchForNewMessages();
if (this.maxFetchSize > 0 && messages.length > this.maxFetchSize) {