Using sg_persist_do_cmd, don't need to output log outside. and the log is uniform.