Skip to content

Commit

Permalink
Merge pull request #66 from SkynetLabs/ivo/fix_log
Browse files Browse the repository at this point in the history
Stop lop spam after finishing a scan.
  • Loading branch information
kwypchlo authored Sep 23, 2022
2 parents 56d35f5 + 2829c52 commit eace368
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scanner/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,7 @@ func (s *Scanner) threadedPrintStats(stopCh chan struct{}) {
s.staticLogger.Infof("Finished at %s, runtime %s, pinned skylinks %d, skipped skylinks %d",
t1.Format(conf.TimeFormat), t1.Sub(startTime).String(), atomic.LoadUint32(&s.atomicCountPinned), len(skipped))
s.staticLogger.Tracef("Skipped %d skylinks: %v", len(skipped), skipped)
return
case <-s.staticTG.StopChan():
s.staticLogger.Trace("Stop channel closed")
return
Expand Down

0 comments on commit eace368

Please sign in to comment.