fix race condition for SetHasAllValidationCommits; "binary" log

filtering
This commit is contained in:
Jae Kwon
2014-12-30 14:45:26 -08:00
parent 69903e5bc2
commit 16c80fd65f
2 changed files with 16 additions and 3 deletions

View File

@ -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()),
),
)
}