Skip to content

Commit 3e4182f

Browse files
authored
Stop logging chunks (#4056)
We should not be logging raw chunks, even at level 5 after decoder failures. Removing the chunk from the message makes it effectively useless, so I removed the message entirely.
1 parent d058847 commit 3e4182f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/engine/engine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ func (e *Engine) scannerWorker(ctx context.Context) {
785785
decodeLatency.WithLabelValues(decoder.Type().String(), chunk.SourceName).Observe(float64(decodeTime))
786786

787787
if decoded == nil {
788-
ctx.Logger().V(5).Info("decoder not applicable for chunk", "decoder", decoder.Type().String(), "chunk", chunk)
788+
// This means that the decoder didn't understand this chunk and isn't applicable to it.
789789
continue
790790
}
791791

0 commit comments

Comments
 (0)