diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2017-01-24 12:42:27 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2017-01-24 12:42:27 +0530 |
commit | b312cc0511fc845926627e908dd49cf4fab101fe (patch) | |
tree | 346bffed0c74d73e9db88507dc3c7b0cfed8521b | |
parent | f9282477158a39c3252943ea3d931b80b096983a (diff) |
post-build-report: reduce debug level
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r-- | post-build-report.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/post-build-report.py b/post-build-report.py index 5258100..2343ba5 100644 --- a/post-build-report.py +++ b/post-build-report.py @@ -64,8 +64,13 @@ def _push_object(auth_pw, backend_url, endpoint, params, files): conn.putheader('Content-Length', str(len(body))) conn.putheader('Host', usplit.netloc) conn.endheaders() + conn.set_debuglevel(-1) conn.send(body) errcode, errmsg, headers = conn.getreply() + logger.info("return code: %s" % errcode) + logger.info(errmsg) + logger.info(headers) + if errcode < 300: return conn.file.read() |