diff --git a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/RetryGatewayFilterFactory.java b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/RetryGatewayFilterFactory.java index 097d4c00..6e79e358 100644 --- a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/RetryGatewayFilterFactory.java +++ b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/RetryGatewayFilterFactory.java @@ -168,10 +168,13 @@ public class RetryGatewayFilterFactory @Override public String toString() { - return filterToStringCreator(RetryGatewayFilterFactory.this).append("retries", retryConfig.getRetries()) - .append("series", retryConfig.getSeries()).append("statuses", retryConfig.getStatuses()) - .append("methods", retryConfig.getMethods()).append("exceptions", retryConfig.getExceptions()) - .toString(); + return filterToStringCreator(RetryGatewayFilterFactory.this) + .append("routeId", retryConfig.getRouteId()) + .append("retries", retryConfig.getRetries()) + .append("series", retryConfig.getSeries()) + .append("statuses", retryConfig.getStatuses()) + .append("methods", retryConfig.getMethods()) + .append("exceptions", retryConfig.getExceptions()).toString(); } }; }