package main import ( "github.com/cihub/seelog" "github.com/tendermint/tendermint/p2p" ) var log seelog.LoggerInterface func init() { // TODO: replace with configuration file in the ~/.tendermint directory. config := ` ` var err error log, err = seelog.LoggerFromConfigAsBytes([]byte(config)) if err != nil { panic(err) } p2p.SetLogger(log) }