update readme,fix logging