diff --git a/go/common/log/log.go b/go/common/log/log.go index 56aac0078b..cdf187b0dc 100644 --- a/go/common/log/log.go +++ b/go/common/log/log.go @@ -58,7 +58,7 @@ func New(component string, level int, out string, ctx ...interface{}) gethlog.Lo if out == SysOut { s = gethlog.StreamHandler(os.Stdout, gethlog.TerminalFormat(false)) } else { - s1, err := gethlog.FileHandler(out, gethlog.TerminalFormat(false)) + s1, err := gethlog.FileHandler(out, gethlog.LogfmtFormat()) if err != nil { panic(err) } diff --git a/integration/common/testlog/testlog.go b/integration/common/testlog/testlog.go index 02ccfb23c5..11f7cb0a58 100644 --- a/integration/common/testlog/testlog.go +++ b/integration/common/testlog/testlog.go @@ -45,7 +45,7 @@ func Setup(cfg *Cfg) *os.File { } logFile = f.Name() // hardcode geth log level to error only - gethlog.Root().SetHandler(gethlog.LvlFilterHandler(cfg.LogLevel, gethlog.StreamHandler(f, gethlog.TerminalFormat(false)))) + gethlog.Root().SetHandler(gethlog.LvlFilterHandler(cfg.LogLevel, gethlog.StreamHandler(f, gethlog.LogfmtFormat()))) testlog = gethlog.Root().New(log.CmpKey, log.TestLogCmp) return f }