mirror of
https://github.com/tendermint/tendermint.git
synced 2026-06-02 04:16:20 +00:00
fix race condition for SetHasAllValidationCommits; "binary" log
filtering
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
package binary
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/tendermint/log15"
|
||||
)
|
||||
|
||||
var log = log15.New("module", "binary")
|
||||
|
||||
func init() {
|
||||
log.SetHandler(
|
||||
log15.LvlFilterHandler(
|
||||
log15.LvlWarn,
|
||||
log15.StreamHandler(os.Stderr, log15.LogfmtFormat()),
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user