Add a logger for answer status

This commit is contained in:
Guillaume Ayoub 2011-10-03 13:52:56 +02:00
parent 7560f26eb7
commit 3689944372

View File

@ -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