middleware to log request/response objects for testing purposes?

5 views
Skip to first unread message

Sean Neilan

unread,
Nov 25, 2009, 3:52:27 PM11/25/09
to Django users
Dear Django Community,

I am curious if anyone has built some middleware to log all request/
response objects & possibly view & exception calls. I could do this
myself easily, but, I would like to not reinvent the wheel.

Thank you for your time.

-Sean Neilan

Tim Valenta

unread,
Nov 25, 2009, 4:27:54 PM11/25/09
to Django users
http://code.google.com/p/django-logging/

*shrug* I haven't used it, but he's got a screen-cast about how the
thing is set up. He builds it off of built-in Python logging
modules. It looks like it provides some decorators for suppressing
logging output on methods, etc. Might be worth the time to figure it
out! I'm considering it myself, now that I've looked at it!

Tim
Reply all
Reply to author
Forward
0 new messages