Skip to content

Commit

Permalink
feat: demote some cache related logging to debug level
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGee <[email protected]>
  • Loading branch information
brianmcgee committed May 17, 2024
1 parent 385fbc3 commit ff3bfaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func ChangeSet(ctx context.Context, walker walk.Walker, filesCh chan<- *walk.Fil
start := time.Now()

defer func() {
logger.Infof("finished generating change set in %v", time.Since(start))
logger.Debugf("finished generating change set in %v", time.Since(start))
}()

var tx *bolt.Tx
Expand Down Expand Up @@ -272,7 +272,7 @@ func ChangeSet(ctx context.Context, walker walk.Walker, filesCh chan<- *walk.Fil
func Update(files []*walk.File) error {
start := time.Now()
defer func() {
logger.Infof("finished processing %v paths in %v", len(files), time.Since(start))
logger.Debugf("finished processing %v paths in %v", len(files), time.Since(start))
}()

if len(files) == 0 {
Expand Down

0 comments on commit ff3bfaa

Please sign in to comment.