change appId, uid and logId to _id, test success!