Skip to content

Commit

Permalink
bring back Logger = nil
Browse files Browse the repository at this point in the history
  • Loading branch information
okdas committed Aug 15, 2024
1 parent 21cfb18 commit dfdcbe5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kvstore/badger/kvstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ func badgerOptions(path string) badgerv4.Options {
// - https://github.com/dgraph-io/badger/blob/master/options.go#L37
// - https://github.com/open-policy-agent/opa/issues/4014#issuecomment-1003700744
opts := badgerv4.DefaultOptions(path)
opts.Logger = nil // disable badger's logger since it's very noisy

return opts
}

0 comments on commit dfdcbe5

Please sign in to comment.