From a08c455cdcb2add1176db591dbcdb79ff1d5a174 Mon Sep 17 00:00:00 2001 From: akarasik Date: Wed, 25 Jun 2025 18:11:10 -0400 Subject: [PATCH] Set loglevel for the Stale cache logs This will allow the loglevel filter to actualy filter those out when using WARN or ERROR --- serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serve.go b/serve.go index 858973c7..93b8eb51 100644 --- a/serve.go +++ b/serve.go @@ -103,7 +103,7 @@ func (h healthHandler) processAndEnsureCached(negotiatedContentType string, outp log.Printf("[TRACE] Returning cached[%s].", cacheKey) tra = tmp.([][]resource.TestResult) } else { - log.Printf("Stale cache[%s], running tests", cacheKey) + log.Printf("[INFO] Stale cache[%s], running tests", cacheKey) h.sys = system.New(h.c.PackageManager) tra = h.validate() h.cache.SetDefault(cacheKey, tra)