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