From 857856663d41145be77c39a773aa59cfe1930ab1 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Mon, 19 Feb 2024 18:48:18 -0500 Subject: [PATCH] Demote "storage cleaning happened too recently" from WARN to INFO (#270) --- maintain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintain.go b/maintain.go index 9ffb7310..a609b636 100644 --- a/maintain.go +++ b/maintain.go @@ -452,7 +452,7 @@ func CleanStorage(ctx context.Context, storage Storage, opts CleanStorageOptions lastTLSClean := lastClean["tls"] if time.Since(lastTLSClean.Timestamp) < opts.Interval { nextTime := time.Now().Add(opts.Interval) - opts.Logger.Warn("storage cleaning happened too recently; skipping for now", + opts.Logger.Info("storage cleaning happened too recently; skipping for now", zap.String("instance", lastTLSClean.InstanceID), zap.Time("try_again", nextTime), zap.Duration("try_again_in", time.Until(nextTime)),