Skip to content

Commit

Permalink
add timestamp to Received entry log
Browse files Browse the repository at this point in the history
  • Loading branch information
Fontinalis authored and torywheelwright committed Mar 28, 2024
1 parent bf16521 commit b14a21d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/oplog/tail.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ func (tailer *Tailer) unmarshalEntry(rawData bson.Raw) (timestamp *primitive.Tim

entries := tailer.parseRawOplogEntry(result, nil)
log.Log.Debugw("Received oplog entry",
"entry", result)
"entry", result,
"processTime", time.Now().UnixMilli())

status := "ignored"
database := "(no database)"
Expand Down

0 comments on commit b14a21d

Please sign in to comment.