Commit 005d3f25 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Connect request-response threads in logs

The connection between kamaki request attempt and httplib response was
logged, but the connection between httplib response and kamaki response
managment was not logged.
parent c3396aeb
......@@ -222,7 +222,8 @@ class ResponseManager(Logged):
self.request.LOG_TOKEN = self.LOG_TOKEN
self.request.LOG_DATA = self.LOG_DATA
r = self.request.perform(connection)
recvlog.info('[resp: %s] <-- [req: %s]\n' % (r, self.request))
recvlog.info('\n%s <-- %s <-- [req: %s]\n' % (
self, r, self.request))
self._request_performed = True
self._status_code, self._status = r.status, r.reason
recvlog.info(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment