From 61304007df30c950013692dcdbda2185e9af2283 Mon Sep 17 00:00:00 2001 From: Richard Gomez <32133502+rgmz@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:57:05 -0500 Subject: [PATCH] chore: increase level for verbose log (#3589) --- pkg/handlers/archive.go | 2 +- pkg/handlers/default.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/handlers/archive.go b/pkg/handlers/archive.go index 98e31ba84..0b4e8e0bd 100644 --- a/pkg/handlers/archive.go +++ b/pkg/handlers/archive.go @@ -182,7 +182,7 @@ func (h *archiveHandler) extractorHandler(archiveChan chan []byte) func(context. } if common.SkipFile(file.Name()) || common.IsBinary(file.Name()) { - lCtx.Logger().V(2).Info("skipping file: extension is ignored") + lCtx.Logger().V(3).Info("skipping file: extension is ignored") h.metrics.incFilesSkipped() return nil } diff --git a/pkg/handlers/default.go b/pkg/handlers/default.go index 31ebbf8b4..7db724cb4 100644 --- a/pkg/handlers/default.go +++ b/pkg/handlers/default.go @@ -76,7 +76,7 @@ func (h *defaultHandler) handleNonArchiveContent(ctx logContext.Context, reader mimeExt := reader.mimeExt if common.SkipFile(mimeExt) || common.IsBinary(mimeExt) { - ctx.Logger().V(2).Info("skipping file: extension is ignored", "ext", mimeExt) + ctx.Logger().V(3).Info("skipping file: extension is ignored", "ext", mimeExt) h.metrics.incFilesSkipped() // Make sure we consume the reader to avoid potentially blocking indefinitely. _, _ = io.Copy(io.Discard, reader)