Skip to content

Commit

Permalink
fix(writer): disable ts key in writer
Browse files Browse the repository at this point in the history
to prevent multiple key being printed in same logline

Signed-off-by: Dwi Siswanto <[email protected]>
  • Loading branch information
dwisiswant0 committed Jan 20, 2024
1 parent 39fe637 commit 2019112
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/writer/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2019112

Please sign in to comment.