Monday, June 26, 2017

Django Logger vs Logging Middleware

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!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/740b0701-0d53-400a-94e8-110d01658499%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment