From: Zack Cerza Date: Fri, 11 Oct 2013 21:29:42 +0000 (-0500) Subject: Debug output for all http requests X-Git-Tag: 1.1.0~1805^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3905ab993fd2af0157a22d002f8a2c83c69e9dc3;p=teuthology.git Debug output for all http requests Signed-off-by: Zack Cerza --- diff --git a/teuthology/report.py b/teuthology/report.py index 332e111e1..cd7ac2314 100644 --- a/teuthology/report.py +++ b/teuthology/report.py @@ -158,6 +158,11 @@ class ResultsReporter(object): response, content = self.http.request( uri, method, json_, headers={'content-type': 'application/json'}, ) + log.debug("{method} to {uri}: {status}".format( + method=method, + uri=uri, + status=response.status, + )) try: content_obj = json.loads(content)