Change "answer" to "response" in log message

This commit is contained in:
Unrud 2017-06-17 01:41:33 +02:00
parent cf9129f6db
commit 39a11bc7b7

View File

@ -339,7 +339,7 @@ class Application:
status = "%d %s" % ( status = "%d %s" % (
status, client.responses.get(status, "Unknown")) status, client.responses.get(status, "Unknown"))
self.logger.info( self.logger.info(
"%s answer status for %r%s in %.3f seconds: %s", "%s response status for %r%s in %.3f seconds: %s",
environ["REQUEST_METHOD"], environ.get("PATH_INFO", ""), environ["REQUEST_METHOD"], environ.get("PATH_INFO", ""),
depthinfo, (time_end - time_begin).total_seconds(), status) depthinfo, (time_end - time_begin).total_seconds(), status)
# Return response content # Return response content