BadgerDB: set logging level to INFO (#367)
This commit is contained in:
parent
c8c9fe2745
commit
4e0dc749d0
|
|
@ -23,7 +23,9 @@ type Transaction struct {
|
|||
}
|
||||
|
||||
func NewBadgerStore(dbPath string, noCompression bool, logger *zap.SugaredLogger) (store.Store, error) {
|
||||
opts := badger.DefaultOptions(dbPath).WithLogger(newBadgerLogger(logger))
|
||||
opts := badger.DefaultOptions(dbPath).
|
||||
WithLogger(newBadgerLogger(logger)).
|
||||
WithLoggingLevel(badger.INFO)
|
||||
|
||||
opts.SyncWrites = true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue