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)