remove log for err, because of use redirect_stderr