You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/11/18 02:50:42 UTC

[james-project] 08/44: JAMES-2972 log at debug level when matcher gets auto-configured to match all mails

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit e52a8e59e300b60f07ebcd50531a6cc8dea31d96
Author: Joerg Thomas <jo...@consol.de>
AuthorDate: Thu Nov 14 12:33:40 2019 +0100

    JAMES-2972 log at debug level when matcher gets auto-configured to match all mails
---
 .../apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java b/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java
index 86ebde8..b6cf1e0 100644
--- a/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java
+++ b/server/mailet/mailetcontainer-camel/src/main/java/org/apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java
@@ -342,6 +342,7 @@ public abstract class AbstractStateMailetProcessor implements MailProcessor, Con
                 } else {
                     // default matcher is All
                     matcher = matcherLoader.getMatcher(createMatcherConfig("All"));
+                    LOGGER.debug("Mailet {} has no 'match' attribute. Defaulting to match all mails.", mailetClassName);
                 }
 
                 // The matcher itself should log that it's been inited.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org