mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-09-30 12:01:15 +02:00
BadgerDB: set logging level to INFO (#367)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user