diff --git a/rest/taskana-rest-spring/src/main/java/pro/taskana/monitor/rest/MonitorController.java b/rest/taskana-rest-spring/src/main/java/pro/taskana/monitor/rest/MonitorController.java index f62218b69..db1f6b30a 100644 --- a/rest/taskana-rest-spring/src/main/java/pro/taskana/monitor/rest/MonitorController.java +++ b/rest/taskana-rest-spring/src/main/java/pro/taskana/monitor/rest/MonitorController.java @@ -50,7 +50,7 @@ public class MonitorController { @RequestParam(required = false) List domains, @RequestParam(required = false) List states) throws NotAuthorizedException, InvalidArgumentException { - LOGGER.debug("Entry to getTasksStatusReport()"); + LOGGER.debug("Entry to getTasksStatusReport(), states to include {}", states); ResponseEntity response = ResponseEntity.ok( reportRepresentationModelAssembler.toModel( @@ -73,13 +73,14 @@ public class MonitorController { public ResponseEntity getTasksWorkbasketReport( @RequestParam(value = "states") List states) throws NotAuthorizedException, InvalidArgumentException { - LOGGER.debug("Entry to getTasksWorkbasketReport()"); + LOGGER.debug("Entry to getTasksWorkbasketReport(), states to include {}", states); ReportRepresentationModel report = reportRepresentationModelAssembler.toModel( monitorService .createWorkbasketReportBuilder() .withColumnHeaders(getRangeTimeInterval()) + .stateIn(states) .buildReport(), states); @@ -96,7 +97,11 @@ public class MonitorController { @RequestParam(value = "daysInPast") int daysInPast, @RequestParam(value = "states") List states) throws NotAuthorizedException, InvalidArgumentException { - LOGGER.debug("Entry to getTasksWorkbasketPlannedDateReport()"); + LOGGER.debug( + "Entry to getTasksWorkbasketPlannedDateReport(), " + + "upto {} days in the past, states to include {}", + daysInPast, + states); ReportRepresentationModel report = reportRepresentationModelAssembler.toModel(