diff --git a/dialogue-core/src/main/java/com/palantir/dialogue/core/RetryingChannel.java b/dialogue-core/src/main/java/com/palantir/dialogue/core/RetryingChannel.java index c3997470e..0ae65ad8f 100644 --- a/dialogue-core/src/main/java/com/palantir/dialogue/core/RetryingChannel.java +++ b/dialogue-core/src/main/java/com/palantir/dialogue/core/RetryingChannel.java @@ -259,10 +259,15 @@ private ListenableFuture incrementFailuresAndMaybeRetry( return scheduleRetry(throwableToLog, meter); } if (log.isInfoEnabled()) { + SafeRuntimeException stacktrace = debugStacktrace.orElse(null); log.info( "Exhausted {} retries, returning a retryable response with status {}", SafeArg.of("retries", maxRetries), - SafeArg.of("status", response.code())); + SafeArg.of("status", response.code()), + SafeArg.of("channelName", channelName), + SafeArg.of("serviceName", endpoint.serviceName()), + SafeArg.of("endpoint", endpoint.endpointName()), + stacktrace); } // not closing response because ConjureBodySerde will need to deserialize it return Futures.immediateFuture(response);