add http method to logging (discovery.py)