diff --git a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/health/GeoportalHealthCheck.java b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/health/GeoportalHealthCheck.java index a7c3463..d08f6da 100644 --- a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/health/GeoportalHealthCheck.java +++ b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/rest/health/GeoportalHealthCheck.java @@ -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; }