12
May
django-db-log
The question came up today, if there was a database logging solution available for Django. It turned out (to my knowledge) there wasn’t. So I quickly came up with django-db-log. It’s a simply middleware which will catch exceptions in Django, and log them to the database, allowing you to easily view them via the admin or your own custom application.

7 Responses to "django-db-log"
you’re the man Dan … you turned my question into a functioning solution around in about 20 mins (probably less). awesome.
Hello!!!
I supose you already know django-logging:
http://code.google.com/p/django-logging/wiki/Overview
I think is a different purpose application, but this could do the job, and in some situations is even better to write objects to the filesystem than the database.
r.
Ya that’s a different purpose, but also seems useful
(I don’t actually plan to use DB logging, I simply built this on request)
Hey David!
I saw it later … seems incredibly smart, and fast !!!
r.
“The question came up today”
Haha, that question comes up EVERYDAY on the irc channel
it seems quite useful, thanks
Cool!
practical and simple + smart
Thank you
Leave A Reply