Skip to content

Commit

Permalink
log file recover at info lvl
Browse files Browse the repository at this point in the history
  • Loading branch information
theganyo committed May 29, 2020
1 parent 670ae6b commit 0096dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analytics/recovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (m *manager) crashRecovery() error {

// recoverFile recovers gzipped data in a file and puts it into a new file.
func (m *manager) recoverFile(oldName string, newFile *os.File) error {
log.Warnf("recover file: %s", oldName)
log.Infof("recover file: %s", oldName)
in, err := os.Open(oldName)
if err != nil {
return fmt.Errorf("open %s: %s", oldName, err)
Expand Down

0 comments on commit 0096dc5

Please sign in to comment.