tulip / oplogtoredis

Publish MongoDB oplog entries to Redis
Apache License 2.0
38 stars 9 forks source link

Add epoch-seconds timestamp to debug logs of oplog entries #63

Closed torywheelwright closed 5 months ago

torywheelwright commented 5 months ago

When we get an oplog entry, we log it out at debug level. This adds an extra metadata field that prints the server time in seconds since the epoch so that it's easy to see visually how delayed oplog entries are.