From 6f8382064072c25fa9fe44d5f18ad047658a4910 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 | 3 ++- 1 file changed, 2 insertions(+), 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..558ad04d 100644 --- a/myconext-server/src/main/java/myconext/aa/AttributeAggregatorController.java +++ b/myconext-server/src/main/java/myconext/aa/AttributeAggregatorController.java @@ -49,7 +49,8 @@ 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); }