Inspecting the record.request object in the test server gives me a socket connection, not an HTTPRequest object. I don't know why; there's no ASGI server set up or anything and the same happens in debug and production mode. If anyone cares to:
solve this and get more http information out of the logs emitted by django.server, or
replace django.server with specific middleware to log detailed request information,
Especially if at the same time you:
do something smart about spans and traces to get much fuller information in
Feature request
Use Case
Basic httpRequest information is added to the GoogleStructuredLogHandler. However, this data could be much richer, as many fields are missing.
Current state
Inspecting the
record.request
object in the test server gives me a socket connection, not an HTTPRequest object. I don't know why; there's no ASGI server set up or anything and the same happens in debug and production mode. If anyone cares to:django.server
, ordjango.server
with specific middleware to log detailed request information,Especially if at the same time you:
... then PRs are most welcome!