You're logging the timestamp of the last entry, not the entry itself. I'd suggest new phrasing: "OplogThread: last oplog entry has timestamp %d" % curr[0]['ts'].time