I want to log every request sent to Django.
There are some posts online about logging middleware. The Django documentation talks about logger configuration and it seems that I can set it up to log everything without writing middleware.
INFO
level messages, with DEBUG = False
and no middleware?if want to log every request, in that case, you should use Logging in middleware https://djangosnippets.org/snippets/428/