mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-16 22:51:22 +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