From 20191120d61ce84e578d7592cf8a1e84a8883234 Mon Sep 17 00:00:00 2001 From: Dwi Siswanto Date: Sat, 20 Jan 2024 18:01:37 +0700 Subject: [PATCH] fix(writer): disable `ts` key in writer to prevent multiple key being printed in same logline Signed-off-by: Dwi Siswanto --- internal/writer/writer.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/writer/writer.go b/internal/writer/writer.go index 8581005..65419a4 100644 --- a/internal/writer/writer.go +++ b/internal/writer/writer.go @@ -34,8 +34,6 @@ func (w *logWriter) Write(p []byte) (n int, err error) { return 0, err } - w.Logger = w.With("ts", d["ts"]) - err = w.write(d) return