Skip to content

Commit

Permalink
Reduce useless logging
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Nov 27, 2023
1 parent 11be8a5 commit 1a33ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/logfiles/uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (u *PeriodicUploader) Start() {
}

if timestamp.Now().Sub(fileDate) > time.Hour*24*30 {
logging.Infof("Skipping file %s. File is more than 30 days old: %s", filePath, fileDate)
logging.Debugf("Skipping file %s. File is more than 30 days old: %s", filePath, fileDate)
return
}

Expand Down

0 comments on commit 1a33ab8

Please sign in to comment.