update log interface

This commit is contained in:
Anton Kaliaev
2017-05-04 23:17:16 +04:00
parent d2a4b16b28
commit 1dc3629b1a
11 changed files with 31 additions and 29 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ func startClient(abciType string) abcicli.Client {
if err != nil {
panic("connecting to abci_app: " + err.Error())
}
logger := log.NewTMLogger(os.Stdout)
client.SetLogger(log.With(logger, "module", "abcicli"))
logger := log.NewTMLogger(log.NewSyncWriter(os.Stdout))
client.SetLogger(logger.With("module", "abcicli"))
return client
}