From a1f3d68ead68bf0ec3ced14efeab50b7ea0c63e9 Mon Sep 17 00:00:00 2001 From: christophejan <69955393+christophejan@users.noreply.github.com> Date: Thu, 5 May 2022 23:40:19 +0200 Subject: [PATCH] Improve debug logging of requests to actuator endpoints on WebFlux See gh-30880 --- .../AbstractWebFluxEndpointHandlerMapping.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/reactive/AbstractWebFluxEndpointHandlerMapping.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/reactive/AbstractWebFluxEndpointHandlerMapping.java index 3ae2ea0fb15..2c562276389 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/reactive/AbstractWebFluxEndpointHandlerMapping.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/reactive/AbstractWebFluxEndpointHandlerMapping.java @@ -384,6 +384,11 @@ public abstract class AbstractWebFluxEndpointHandlerMapping extends RequestMappi return this.operation.handle(exchange, body); } + @Override + public String toString() { + return this.operation.toString(); + } + } /** @@ -402,6 +407,11 @@ public abstract class AbstractWebFluxEndpointHandlerMapping extends RequestMappi return this.operation.handle(exchange, null); } + @Override + public String toString() { + return this.operation.toString(); + } + } private static class WebFluxEndpointHandlerMethod extends HandlerMethod {