From 96106563a9a134566b23bda82815b00024b8aaec Mon Sep 17 00:00:00 2001 From: trufflesteeeve <94936258+trufflesteeeve@users.noreply.github.com> Date: Thu, 14 Jul 2022 13:13:23 -0400 Subject: [PATCH] Remove git fragment trace (#656) The fragment trace was a bit too verbose even at the trace level. We may want to trace the file being chunked or something like that, but not the entire diff. --- pkg/sources/git/git.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/sources/git/git.go b/pkg/sources/git/git.go index 2a176d21a702..78ef4008322b 100644 --- a/pkg/sources/git/git.go +++ b/pkg/sources/git/git.go @@ -349,7 +349,6 @@ func (s *Git) ScanCommits(repo *git.Repository, path string, scanOptions *ScanOp sb.WriteString(line.Line) } } - log.WithField("fragment", sb.String()).Trace("detecting fragment") metadata := s.sourceMetadataFunc(fileName, email, hash, when, urlMetadata, newLineNumber) chunksChan <- &sources.Chunk{ SourceName: s.sourceName,