7878 */
7979public class ServerCdiExtension implements Extension {
8080 private static final Logger LOGGER = Logger .getLogger (ServerCdiExtension .class .getName ());
81+ private static final Logger STARTUP_LOGGER = Logger .getLogger ("io.helidon.microprofile.startup.server" );
8182 private static final AtomicBoolean IN_PROGRESS_OR_RUNNING = new AtomicBoolean ();
8283
8384 // build time
@@ -217,6 +218,8 @@ private void startServer(@Observes @Priority(PLATFORM_AFTER + 100) @Initialized(
217218 serverBuilder = null ;
218219 routingBuilder = null ;
219220 namedRoutings = null ;
221+
222+ STARTUP_LOGGER .finest ("Server created" );
220223 }
221224
222225 private void registerJaxRsApplications (BeanManager beanManager ) {
@@ -232,6 +235,7 @@ private void registerJaxRsApplications(BeanManager beanManager) {
232235 : Injections .createInjectionManager ();
233236 jaxRsApplications .forEach (it -> addApplication (jaxRs , it , shared ));
234237 }
238+ STARTUP_LOGGER .finest ("Registered jersey application(s)" );
235239 }
236240
237241 private void registerDefaultRedirect () {
@@ -242,6 +246,7 @@ private void registerDefaultRedirect() {
242246 res .headers ().put (Http .Header .LOCATION , basePath );
243247 res .send ();
244248 }));
249+ STARTUP_LOGGER .finest ("Builders ready" );
245250 }
246251
247252 private void registerStaticContent () {
@@ -270,6 +275,7 @@ private void registerPathStaticContent(Config config) {
270275 } else {
271276 routingBuilder .register (staticContent );
272277 }
278+ STARTUP_LOGGER .finest ("Static path" );
273279 }
274280
275281 private void registerClasspathStaticContent (Config config ) {
@@ -289,6 +295,7 @@ private void registerClasspathStaticContent(Config config) {
289295 } else {
290296 routingBuilder .register (staticContent );
291297 }
298+ STARTUP_LOGGER .finest ("Static classpath" );
292299 }
293300
294301 private void stopServer (@ Observes @ Priority (PLATFORM_BEFORE ) @ BeforeDestroyed (ApplicationScoped .class ) Object event ) {
@@ -400,6 +407,7 @@ private void registerWebServerServices(BeanManager beanManager) {
400407 Service service = (Service ) objBean .create (context );
401408 registerWebServerService (serviceBeans .remove (bean ), service );
402409 }
410+ STARTUP_LOGGER .finest ("Registered WebServer services" );
403411 }
404412
405413 private static List <Bean <?>> prioritySort (Set <Bean <?>> beans ) {
0 commit comments