Log pymongo write result.