You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by jh...@apache.org on 2023/01/18 08:15:42 UTC

[james-project] 01/01: [boyscout] logs bound port when webmin server starts

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

jhelou pushed a commit to branch boyscout-webmin-start-log
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 8de43f91a938c2333d78cbe3090ef50122ae660a
Author: Jean Helou <jh...@codamens.fr>
AuthorDate: Mon Jan 16 21:52:13 2023 +0100

    [boyscout] logs bound port when webmin server starts
    
    It helps make sure everything is properly setup. The idea was lifted from AbstractConfigurableAsyncServer
---
 .../src/main/java/org/apache/james/webadmin/WebAdminServer.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/protocols/webadmin/webadmin-core/src/main/java/org/apache/james/webadmin/WebAdminServer.java b/server/protocols/webadmin/webadmin-core/src/main/java/org/apache/james/webadmin/WebAdminServer.java
index cdad563f52..8d5e9582c2 100644
--- a/server/protocols/webadmin/webadmin-core/src/main/java/org/apache/james/webadmin/WebAdminServer.java
+++ b/server/protocols/webadmin/webadmin-core/src/main/java/org/apache/james/webadmin/WebAdminServer.java
@@ -117,7 +117,7 @@ public class WebAdminServer implements Startable {
             });
             publicRoutes.forEach(routes -> routes.define(service));
             service.awaitInitialization();
-            LOGGER.info("Web admin server started");
+            LOGGER.info("Web admin server started on port {}", service.port());
         }
         return this;
     }


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