Skip to content

Commit

Permalink
disable badger logs
Browse files Browse the repository at this point in the history
  • Loading branch information
akhenakh committed Nov 28, 2019
1 parent 235abea commit 2d37b0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/geottnd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func main() {

// Badger
opts := badger.DefaultOptions(*dbPath)
opts.Logger = nil
opts.TableLoadingMode = options.FileIO

bdb, err := badger.Open(opts)
Expand Down

0 comments on commit 2d37b0b

Please sign in to comment.