Skip to content

Commit

Permalink
Move Infinispan DevService logging
Browse files Browse the repository at this point in the history
Prior to this, InfinispanDevServiceProcessor logged a
misleading message about starting a DevService.

(cherry picked from commit c995ded)
  • Loading branch information
geoand authored and gsmet committed Jun 4, 2024
1 parent d0a4e49 commit 9bee30d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,8 @@ private void runInfinispanDevService(String clientName,
Map<String, RunningDevService> newDevServices,
Map<String, String> 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);
Expand Down Expand Up @@ -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<RunningDevService> infinispanServerSupplier = () -> {
QuarkusInfinispanContainer infinispanContainer = new QuarkusInfinispanContainer(clientName, devServicesConfig,
Expand Down

0 comments on commit 9bee30d

Please sign in to comment.