diff --git a/pkg/handlers/archive.go b/pkg/handlers/archive.go index 6d20d95bb..c3bf11de7 100644 --- a/pkg/handlers/archive.go +++ b/pkg/handlers/archive.go @@ -202,7 +202,7 @@ func (h *archiveHandler) extractorHandler(dataOrErrChan chan DataOrErr) func(con } if common.SkipFile(file.Name()) || common.IsBinary(file.Name()) { - lCtx.Logger().V(3).Info("skipping file: extension is ignored") + lCtx.Logger().V(4).Info("skipping file: extension is ignored") h.metrics.incFilesSkipped() return nil } diff --git a/pkg/handlers/default.go b/pkg/handlers/default.go index c65ac4bfe..e18511b01 100644 --- a/pkg/handlers/default.go +++ b/pkg/handlers/default.go @@ -99,7 +99,7 @@ func (h *defaultHandler) handleNonArchiveContent( mimeExt := reader.mimeExt if common.SkipFile(mimeExt) || common.IsBinary(mimeExt) { - ctx.Logger().V(3).Info("skipping file: extension is ignored", "ext", mimeExt) + ctx.Logger().V(4).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)