Skip to content

Commit

Permalink
log name of the file failed to open during startup by ingester (#3970)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepsukhani authored Jul 8, 2021
1 parent 021a7fd commit 0cd8f31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/storage/stores/shipper/uploads/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ func loadBoltDBsFromDir(dir string) (map[string]*bbolt.DB, error) {

db, err := shipper_util.SafeOpenBoltdbFile(fullPath)
if err != nil {
level.Error(util_log.Logger).Log("msg", fmt.Sprintf("failed to open file %s. Please fix or remove this file to let Loki start successfully.", fullPath), "err", err)
return nil, err
}

Expand Down

0 comments on commit 0cd8f31

Please sign in to comment.