diff --git a/daphne/access.py b/daphne/access.py index 5aea5bb..8377ad5 100644 --- a/daphne/access.py +++ b/daphne/access.py @@ -1,4 +1,3 @@ -import datetime import logging logger = logging.getLogger(__name__) @@ -72,7 +71,9 @@ class AccessLogGenerator: """ logger.info( - f"{request} {details}", + "%s %s", + request, + details, extra={ "host": host, "request": request,