David Cramer's Blog

Announcing Django-db-log 1.7.1

Today I pushed out a slight overhaul to the UI (and functionality) of django-db-log. The 1.7 version set (use 1.7.1 as 1.7 had a couple minor issues).

Here’s the brief changeset:

  • Renders full debugging pages just like you’d see with Django (only for newly logged errors) under the new Messages admin.
  • Supports logging full exceptions with the python logging handler via the built-in exc_info keyword argument.
  • Better support for logging fallbacks if django-db-log fails.
  • Overall improved administration interface.

The changeset is fairly small, but the headliner is a big one. It allows you to easily debug a request as if it had just happened (by seeing full tracebacks, local variables, etc.). It works with any of the exception handling methods: middleware, create_from_exception, and create_from_record (which is what the logging handler uses).

Here’s a sexy preview of it in use over at our development environment on Disqus:

Ready to upgrade?

pip install django-db-log --upgrade

Enjoy!