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 ro...@apache.org on 2018/12/18 12:57:28 UTC
[3/7] james-project git commit: JAMES-2611 Use info level for logging
when lmtpserver.xml is missing
JAMES-2611 Use info level for logging when lmtpserver.xml is missing
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/5fb15251
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/5fb15251
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/5fb15251
Branch: refs/heads/master
Commit: 5fb152514c287cdf57c111efd6130ac062e81b07
Parents: ab97719
Author: Gautier DI FOLCO <gd...@linagora.com>
Authored: Tue Nov 27 14:45:45 2018 +0100
Committer: Raphael Ouazana <ra...@linagora.com>
Committed: Tue Dec 18 13:56:45 2018 +0100
----------------------------------------------------------------------
.../java/org/apache/james/modules/protocols/LMTPServerModule.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/james-project/blob/5fb15251/server/container/guice/protocols/lmtp/src/main/java/org/apache/james/modules/protocols/LMTPServerModule.java
----------------------------------------------------------------------
diff --git a/server/container/guice/protocols/lmtp/src/main/java/org/apache/james/modules/protocols/LMTPServerModule.java b/server/container/guice/protocols/lmtp/src/main/java/org/apache/james/modules/protocols/LMTPServerModule.java
index dd67a1b..a6a0da2 100644
--- a/server/container/guice/protocols/lmtp/src/main/java/org/apache/james/modules/protocols/LMTPServerModule.java
+++ b/server/container/guice/protocols/lmtp/src/main/java/org/apache/james/modules/protocols/LMTPServerModule.java
@@ -25,6 +25,7 @@ import org.apache.james.lifecycle.api.Configurable;
import org.apache.james.lmtpserver.netty.LMTPServerFactory;
import org.apache.james.lmtpserver.netty.OioLMTPServerFactory;
import org.apache.james.server.core.configuration.ConfigurationProvider;
+import org.apache.james.util.LoggingLevel;
import org.apache.james.utils.ConfigurationPerformer;
import org.apache.james.utils.GuiceProbe;
@@ -61,7 +62,7 @@ public class LMTPServerModule extends AbstractModule {
@Override
public void initModule() {
try {
- lmtpServerFactory.configure(configurationProvider.getConfiguration("lmtpserver"));
+ lmtpServerFactory.configure(configurationProvider.getConfiguration("lmtpserver", LoggingLevel.INFO));
lmtpServerFactory.init();
} catch (Exception e) {
throw new RuntimeException(e);
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org