fix the config and the path of the sm_log file