No it's not. getHttpMethod is abstract, so generally speaking the final URL can be absolutely different from  both 'endpoint' and 'query'. So it's better to log  'endpoint', 'query' and final URL that has been executed.