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.
  • Loading branch information
geoand committed Jun 3, 2024
1 parent 531e9e4 commit c995ded
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 c995ded

Please sign in to comment.