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/10/22 05:44:00 UTC
[james-project] 01/04: JAMES-2866 Log additional modules
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 7752687fecd0071ee873620384b055659f9f240c
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Fri Oct 18 11:26:34 2019 +0700
JAMES-2866 Log additional modules
---
.../src/main/java/org/apache/james/utils/GuiceGenericLoader.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/container/guice/guice-utils/src/main/java/org/apache/james/utils/GuiceGenericLoader.java b/server/container/guice/guice-utils/src/main/java/org/apache/james/utils/GuiceGenericLoader.java
index e87ebc2..d8ca52e 100644
--- a/server/container/guice/guice-utils/src/main/java/org/apache/james/utils/GuiceGenericLoader.java
+++ b/server/container/guice/guice-utils/src/main/java/org/apache/james/utils/GuiceGenericLoader.java
@@ -98,6 +98,7 @@ public class GuiceGenericLoader {
this.additionalExtensionBindings = Modules.combine(extensionConfiguration.getAdditionalGuiceModulesForExtensions()
.stream()
.map(Throwing.function(this::<Module>instantiateNoChildModule))
+ .peek(module -> LOGGER.info("Enabling injects contained in " + module.getClass().getCanonicalName()))
.collect(Guavate.toImmutableList()));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org