Django Logger vs Logging Middleware

30 views
Skip to first unread message

Z S

unread,
Jun 26, 2017, 6:09:00 AM6/26/17
to Django users
Hi,

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.

  • Can I log everything without middleware? 
  • What can middleware give me that a well-tuned Django logging config cannot?
  • Can I log INFO level messages, with DEBUG = False and no middleware?
  • How much extra load does logging everything add to my app?
Thanks!
Reply all
Reply to author
Forward
0 new messages