From aaf493bc1b869500657aa1a3830781ad23ef556a Mon Sep 17 00:00:00 2001 From: Seebs Date: Thu, 22 Sep 2022 14:51:48 -0500 Subject: [PATCH] reduce verbosity of retryablehttpclient The default client appears to be pretty spammy and flood us with debug messages about POST and GET requests, and honestly we don't really need these or benefit from them, I don't think, so let's not. --- internal_client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal_client.go b/internal_client.go index c0ad6f322..5201b913e 100644 --- a/internal_client.go +++ b/internal_client.go @@ -103,6 +103,7 @@ func WithClientRetryPeriod(period time.Duration) InternalClientOption { rc.RetryWaitMin = min rc.RetryMax = int(attempts) rc.CheckRetry = retryWith400Policy + rc.Logger = logger.NopLogger c.retryableClient = rc } }