optimization the log for modifyservice