Added oplog function to log all operational logs to somewhere else.