Skip to content

Find, verify, and analyze leaked credentials

Change commit to trace level logging

Dustin Decker64ace363afd3
diff --git a/pkg/sources/git/git.go b/pkg/sources/git/git.go
index b74f501be..0610035a0 100644
--- a/pkg/sources/git/git.go
+++ b/pkg/sources/git/git.go
@@ -322,7 +322,7 @@ func (s *Git) ScanCommits(ctx context.Context, repo *git.Repository, path string
var reachedBase = false
log.WithField("repo", urlMetadata).Debugf("Scanning repo")
for commit := range commitChan {
- log.Debugf("Scanning commit %s", commit.Hash)
+ log.Tracef("Scanning commit %s", commit.Hash)
if scanOptions.MaxDepth > 0 && depth >= scanOptions.MaxDepth {
log.Debugf("reached max depth")
break