Skip to content

Commit

Permalink
Log attempting to receive email under debug level instead of info (#3312
Browse files Browse the repository at this point in the history
)
  • Loading branch information
filiphr committed Jun 18, 2020
1 parent b4a82eb commit 9ad348b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -401,8 +401,8 @@ protected void closeFolder() {
}

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) {
Expand Down

0 comments on commit 9ad348b

Please sign in to comment.