update error_ctrl and zsw_log