fix log api
fix log api