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

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


The following commit(s) were added to refs/heads/master by this push:
     new ed933624a1 [boyscout] logs bound port when webmin server starts
ed933624a1 is described below

commit ed933624a15ba7648d0711800617751a522d3d2e
Author: Jean Helou <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to