You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2020/12/23 03:51:21 UTC
[james-project] 07/10: JAMES-3483 ValidRcptHandler need to log
errors at the ERROR level
This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 4492d1795e755015004bfdbe963088c0a3226a2c
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Mon Dec 21 21:53:20 2020 +0700
JAMES-3483 ValidRcptHandler need to log errors at the ERROR level
---
.../java/org/apache/james/smtpserver/fastfail/ValidRcptHandler.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/ValidRcptHandler.java b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/ValidRcptHandler.java
index c6bcd73..6ca60ed 100644
--- a/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/ValidRcptHandler.java
+++ b/server/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/ValidRcptHandler.java
@@ -73,7 +73,7 @@ public class ValidRcptHandler extends AbstractValidRcptHandler implements Protoc
return supportsRecipientRewriteTable && isRedirected(recipient, username.asString());
}
} catch (UsersRepositoryException e) {
- LOGGER.info("Unable to access UsersRepository", e);
+ LOGGER.error("Unable to access UsersRepository", e);
return false;
}
}
@@ -90,7 +90,7 @@ public class ValidRcptHandler extends AbstractValidRcptHandler implements Protoc
} catch (ErrorMappingException e) {
return true;
} catch (RecipientRewriteTableException e) {
- LOGGER.info("Unable to access RecipientRewriteTable", e);
+ LOGGER.error("Unable to access RecipientRewriteTable", e);
return false;
}
return false;
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org