Add a logger for answer status
This commit is contained in:
parent
7560f26eb7
commit
3689944372
@ -255,6 +255,7 @@ class Application(object):
|
|||||||
|
|
||||||
# Start response
|
# Start response
|
||||||
status = "%i %s" % (status, client.responses.get(status, "Unknown"))
|
status = "%i %s" % (status, client.responses.get(status, "Unknown"))
|
||||||
|
log.LOGGER.debug("Answer status: %s" % status)
|
||||||
start_response(status, list(headers.items()))
|
start_response(status, list(headers.items()))
|
||||||
|
|
||||||
# Return response content
|
# Return response content
|
||||||
|
Loading…
x
Reference in New Issue
Block a user