From c5b1834dd6acdcf3a8ef0b512c70d50cb5029aeb Mon Sep 17 00:00:00 2001 From: justinsb Date: Fri, 6 Dec 2024 14:48:14 -0500 Subject: [PATCH] Dial down warning level when asset is not found We have to download the hash file for assets that are not well-known, but this is not an error, and this causes a lot of noise in our logs. --- pkg/assets/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/assets/builder.go b/pkg/assets/builder.go index 39926a7dfdf2b..7947ce969f039 100644 --- a/pkg/assets/builder.go +++ b/pkg/assets/builder.go @@ -314,7 +314,7 @@ func (a *AssetBuilder) findHash(file *FileAsset) (*hashing.Hash, error) { return knownHash, nil } - klog.Infof("asset %q is not well-known, downloading hash", file.CanonicalURL) + klog.V(2).Infof("asset %q is not well-known, downloading hash", file.CanonicalURL) // We now prefer sha256 hashes for backoffSteps := 1; backoffSteps <= 3; backoffSteps++ {