log endpoint_url too