mirror of
https://github.com/django/daphne.git
synced 2025-07-05 20:33:04 +03:00
log full uri for http response
This commit is contained in:
parent
b537bed180
commit
3e2370b5f1
|
@ -228,7 +228,7 @@ class WebRequest(http.Request):
|
||||||
logger.debug("HTTP response complete for %s", self.reply_channel)
|
logger.debug("HTTP response complete for %s", self.reply_channel)
|
||||||
try:
|
try:
|
||||||
self.factory.log_action("http", "complete", {
|
self.factory.log_action("http", "complete", {
|
||||||
"path": self.path.decode("ascii"),
|
"path": self.uri.decode("ascii"),
|
||||||
"status": self.code,
|
"status": self.code,
|
||||||
"method": self.method.decode("ascii"),
|
"method": self.method.decode("ascii"),
|
||||||
"client": "%s:%s" % tuple(self.client_addr) if self.client_addr else None,
|
"client": "%s:%s" % tuple(self.client_addr) if self.client_addr else None,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user