From c0fc6d8ee741007cead9200a1f725d167b71f546 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 15 Mar 2022 09:48:53 -0700 Subject: [PATCH] pkg/payload: Log load-time manifest exclusion at V(2) We moved from --v=5 to --v=2 with c4a10047f3 (*: Use --v=2 logging to drop client-side throttling noise, 2022-01-04, #721). But this V(5) logging slipped through via the parallel 5d343a503d (pkg/payload: Log manifest exclusion, 2021-12-10, #712). Catch it up, to restore exclusion logging. --- pkg/payload/payload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/payload/payload.go b/pkg/payload/payload.go index 26d45904c2..97086aabe2 100644 --- a/pkg/payload/payload.go +++ b/pkg/payload/payload.go @@ -191,7 +191,7 @@ func LoadUpdate(dir, releaseImage, excludeIdentifier string, includeTechPreview filteredMs := []manifest.Manifest{} for _, manifest := range ms { if err := include(excludeIdentifier, includeTechPreview, profile, capabilities, &manifest); err != nil { - klog.V(5).Infof("excluding %s group=%s kind=%s namespace=%s name=%s: %v\n", manifest.OriginalFilename, manifest.GVK.Group, manifest.GVK.Kind, manifest.Obj.GetNamespace(), manifest.Obj.GetName(), err) + klog.V(2).Infof("excluding %s group=%s kind=%s namespace=%s name=%s: %v\n", manifest.OriginalFilename, manifest.GVK.Group, manifest.GVK.Kind, manifest.Obj.GetNamespace(), manifest.Obj.GetName(), err) continue } filteredMs = append(filteredMs, manifest)