From 3905ab993fd2af0157a22d002f8a2c83c69e9dc3 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 11 Oct 2013 16:29:42 -0500 Subject: [PATCH] Debug output for all http requests Signed-off-by: Zack Cerza --- teuthology/report.py | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.47.3