From f3d9bd500881908d23ffadf1a02c0334861906dd Mon Sep 17 00:00:00 2001 From: Lucas Serven Date: Tue, 4 Apr 2017 09:47:53 -0700 Subject: [PATCH] server/server.go: make successful garbage collection log at info level --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index 68fe0915..226558f7 100644 --- a/server/server.go +++ b/server/server.go @@ -355,7 +355,7 @@ func (s *Server) startGarbageCollection(ctx context.Context, frequency time.Dura if r, err := s.storage.GarbageCollect(now()); err != nil { s.logger.Errorf("garbage collection failed: %v", err) } else if r.AuthRequests > 0 || r.AuthCodes > 0 { - s.logger.Errorf("garbage collection run, delete auth requests=%d, auth codes=%d", r.AuthRequests, r.AuthCodes) + s.logger.Infof("garbage collection run, delete auth requests=%d, auth codes=%d", r.AuthRequests, r.AuthCodes) } } }