Skip to content

Commit

Permalink
Change commit to trace level logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin-decker committed Oct 24, 2022
1 parent ce36383 commit 64ace36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sources/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64ace36

Please sign in to comment.