From 9bee30da9e77ff1ded69a7f0bb885eeec50522e3 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Mon, 3 Jun 2024 08:28:31 +0300 Subject: [PATCH] Move Infinispan DevService logging Prior to this, InfinispanDevServiceProcessor logged a misleading message about starting a DevService. (cherry picked from commit c995ded7e0ec03d6a2e11fea5a992e48de10af36) --- .../devservices/InfinispanDevServiceProcessor.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/devservices/InfinispanDevServiceProcessor.java b/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/devservices/InfinispanDevServiceProcessor.java index 45afb622a8c82..febed81192857 100644 --- a/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/devservices/InfinispanDevServiceProcessor.java +++ b/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/devservices/InfinispanDevServiceProcessor.java @@ -160,9 +160,8 @@ private void runInfinispanDevService(String clientName, Map newDevServices, Map properties) { try { - log.infof("Starting Dev Service for connection %s", clientName); + InfinispanDevServicesConfig namedDevServiceConfig = config.devService.devservices; - log.infof("Apply Dev Services config %s", namedDevServiceConfig); RunningDevService devService = startContainer(clientName, dockerStatusBuildItem, namedDevServiceConfig, launchMode.getLaunchMode(), !devServicesSharedNetworkBuildItem.isEmpty(), globalDevServicesConfig.timeout, properties); @@ -205,6 +204,8 @@ private RunningDevService startContainer(String clientName, DockerStatusBuildIte "Please configure 'quarkus.infinispan-client.hosts' or 'quarkus.infinispan-client.uri' or get a working docker instance"); return null; } + log.infof("Starting Dev Service for connection %s", clientName); + log.infof("Apply Dev Services config %s", devServicesConfig); Supplier infinispanServerSupplier = () -> { QuarkusInfinispanContainer infinispanContainer = new QuarkusInfinispanContainer(clientName, devServicesConfig,