From 27b8a7ff6bddd5d139da1b15ff3b8482be36808c Mon Sep 17 00:00:00 2001 From: Silas Davis <silas@erisindustries.com> Date: Fri, 5 May 2017 17:35:33 +0100 Subject: [PATCH] Don't capture time twice --- logging/adapters/tendermint_log15/convert.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/logging/adapters/tendermint_log15/convert.go b/logging/adapters/tendermint_log15/convert.go index d6460762..a125b996 100644 --- a/logging/adapters/tendermint_log15/convert.go +++ b/logging/adapters/tendermint_log15/convert.go @@ -43,9 +43,8 @@ func LogLineToRecord(keyvals ...interface{}) *log15.Record { Call: call, Ctx: ctx, KeyNames: log15.RecordKeyNames{ - Time: structure.TimeKey, - Msg: structure.MessageKey, - Lvl: structure.LevelKey, + Msg: structure.MessageKey, + Lvl: structure.LevelKey, }} } @@ -54,7 +53,6 @@ func LogLineToRecord(keyvals ...interface{}) *log15.Record { func RecordToLogLine(record *log15.Record) []interface{} { return Concat( Slice( - structure.TimeKey, record.Time, structure.CallerKey, record.Call, structure.LevelKey, record.Lvl.String(), ), -- GitLab