From b00f81cb5d8a198a60ea570524a96b5542496e2d Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 7 Aug 2020 17:33:03 +0100 Subject: [PATCH] Logging level --- federationsender/statistics/statistics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/federationsender/statistics/statistics.go b/federationsender/statistics/statistics.go index 381783d2b..0621ec497 100644 --- a/federationsender/statistics/statistics.go +++ b/federationsender/statistics/statistics.go @@ -134,13 +134,13 @@ func (s *ServerStatistics) BackoffIfRequired(backingOff atomic.Bool, interrupt < // Work out how long we should be backing off for. duration := time.Second * time.Duration(math.Exp2(float64(count))) - logrus.Infof("Backing off %q for %s", s.serverName, duration) + logrus.Debugf("Backing off %q for %s", s.serverName, duration) // Wait for either an interruption or for the backoff to // complete. select { case <-interrupt: - logrus.Infof("Interrupting backoff for %q", s.serverName) + logrus.Debugf("Interrupting backoff for %q", s.serverName) case <-time.After(duration): }