chore: increase level for verbose log (#3589)

This commit is contained in:
Richard Gomez 2024-11-12 17:57:05 -05:00 committed by GitHub
parent 1f22522e86
commit 61304007df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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)