From f52c5d18bc6adb6e3bca044f5da2fb3876ff89ca Mon Sep 17 00:00:00 2001 From: Peter Havekes Date: Tue, 7 Nov 2023 08:07:33 +0100 Subject: [PATCH] Stringify aggregation log content --- .../main/java/myconext/aa/AttributeAggregatorController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myconext-server/src/main/java/myconext/aa/AttributeAggregatorController.java b/myconext-server/src/main/java/myconext/aa/AttributeAggregatorController.java index 433c2a6b..f79896e3 100644 --- a/myconext-server/src/main/java/myconext/aa/AttributeAggregatorController.java +++ b/myconext-server/src/main/java/myconext/aa/AttributeAggregatorController.java @@ -49,7 +49,7 @@ public ResponseEntity> aggregate(@RequestParam("sp_entity_id userAttributes.add(new UserAttribute("urn:mace:eduid.nl:1.1", eduID)); }); - LOG.debug(String.format("Attribute aggregation response %s", userAttributes)); + LOG.debug(String.format("Attribute aggregation response %s", userAttributes.stream().map(Object::toString).collect(Collectors.joining(", ")))); return ResponseEntity.ok(userAttributes); }