JAMES-2529 Decrease a too verbose log

Info is enough for address validation logs, as it is linked to server input,
not to a server error.


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/5b2f53e6
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/5b2f53e6
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/5b2f53e6

Branch: refs/heads/master
Commit: 5b2f53e66df1a067f132fd909d293a7d50724518
Parents: 155ddd7
Author: Benoit Tellier <[email protected]>
Authored: Tue Oct 23 12:10:41 2018 +0700
Committer: Benoit Tellier <[email protected]>
Committed: Wed Oct 31 08:48:30 2018 +0700

----------------------------------------------------------------------
 .../java/org/apache/james/jmap/mailet/filter/ContentMatcher.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/5b2f53e6/server/protocols/jmap/src/main/java/org/apache/james/jmap/mailet/filter/ContentMatcher.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap/src/main/java/org/apache/james/jmap/mailet/filter/ContentMatcher.java
 
b/server/protocols/jmap/src/main/java/org/apache/james/jmap/mailet/filter/ContentMatcher.java
index a388332..9940c01 100644
--- 
a/server/protocols/jmap/src/main/java/org/apache/james/jmap/mailet/filter/ContentMatcher.java
+++ 
b/server/protocols/jmap/src/main/java/org/apache/james/jmap/mailet/filter/ContentMatcher.java
@@ -53,7 +53,7 @@ public interface ContentMatcher {
             try {
                 return Optional.of(new InternetAddress(fullAddress));
             } catch (AddressException e) {
-                LOGGER.error("error while parsing full address {}", 
fullAddress, e);
+                LOGGER.info("error while parsing full address {}", 
fullAddress, e);
                 return Optional.empty();
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to