added other logs

This commit is contained in:
Francesco Mangiacrapa 2024-10-18 15:20:54 +02:00
parent ca5c9eec77
commit 6e608191df
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ public class GeoportalHealthCheck implements HealthCheck {
public HealthCheckResponse call() {
log.info(GeoportalHealthCheck.class.getSimpleName() + " call");
HealthCheckResponse response = HealthCheckResponse.named(SERVICE_NAME).state(true).withData("serviceStatus", "healthy").build();
log.info("Generated HealthCheckResponse: " + response);
log.info("Generated HealthCheckResponse: " + response.toString());
log.info("Generated HealthCheckResponse map: " + response.getData()!=null?response.getData().toString():"");
return response;
}