From c0acf8239db8027ac1d3a8c964530661a21dc6ae Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Tue, 19 May 2015 19:19:29 +0000 Subject: [PATCH] network2: Log GET/POST uri --- letsencrypt/network2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/letsencrypt/network2.py b/letsencrypt/network2.py index e66afb3a6..b9a34b10f 100644 --- a/letsencrypt/network2.py +++ b/letsencrypt/network2.py @@ -115,6 +115,7 @@ class Network(object): :rtype: `requests.Response` """ + logging.debug('Sending GET request to %s', uri) try: response = requests.get(uri, **kwargs) except requests.exceptions.RequestException as error: @@ -133,7 +134,7 @@ class Network(object): :rtype: `requests.Response` """ - logging.debug('Sending POST data: %s', data) + logging.debug('Sending POST data to %s: %s', uri, data) try: response = requests.post(uri, data=data, **kwargs) except requests.exceptions.RequestException as error: