james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [04/15] james-project git commit: JAMES-2368 Improve logging message
Date Fri, 04 May 2018 06:54:10 GMT
JAMES-2368 Improve logging message


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

Branch: refs/heads/master
Commit: 3f52de9ab089ae09baca88a11d29b18881b25af7
Parents: b6fbd09
Author: benwa <btellier@linagora.com>
Authored: Wed May 2 11:42:37 2018 +0700
Committer: benwa <btellier@linagora.com>
Committed: Fri May 4 13:38:02 2018 +0700

----------------------------------------------------------------------
 .../org/apache/james/modules/mailbox/GlobalMailboxListeners.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/3f52de9a/server/container/guice/mailbox/src/main/java/org/apache/james/modules/mailbox/GlobalMailboxListeners.java
----------------------------------------------------------------------
diff --git a/server/container/guice/mailbox/src/main/java/org/apache/james/modules/mailbox/GlobalMailboxListeners.java
b/server/container/guice/mailbox/src/main/java/org/apache/james/modules/mailbox/GlobalMailboxListeners.java
index 1f51d65..d010174 100644
--- a/server/container/guice/mailbox/src/main/java/org/apache/james/modules/mailbox/GlobalMailboxListeners.java
+++ b/server/container/guice/mailbox/src/main/java/org/apache/james/modules/mailbox/GlobalMailboxListeners.java
@@ -53,7 +53,7 @@ public class GlobalMailboxListeners implements Configurable {
 
     @Override
     public void configure(HierarchicalConfiguration configuration) {
-        LOGGER.info("Loading mailbox listeners");
+        LOGGER.info("Loading user registered mailbox listeners");
 
         List<HierarchicalConfiguration> listenersConfiguration = configuration.configurationsAt("listener");
 
@@ -64,7 +64,7 @@ public class GlobalMailboxListeners implements Configurable {
         String listenerClass = configuration.getString("class");
         Preconditions.checkState(!Strings.isNullOrEmpty(listenerClass), "class name is mandatory");
         try {
-            LOGGER.info("Loading mailbox listener {}", listenerClass);
+            LOGGER.info("Loading user registered mailbox listener {}", listenerClass);
             Class<MailboxListener> clazz = classLoader.locateClass(listenerClass);
             MailboxListener listener = injector.getInstance(clazz);
             registry.addGlobalListener(listener);


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


Mime
View raw message