1. Carl Meyer
  2. django-errorstack


Carl Meyer  committed 553ec7e

ensure handler is always added to logger

  • Participants
  • Parent commits 6ec94c0
  • Branches default

Comments (0)

Files changed (4)

File CHANGES.txt

View file
 tip (unreleased)
+- Ensure errorstack handler is always added to errorstack logger.
 0.1 (2009.12.16)

File TODO.txt

View file
+- Allow customization of the attributes to report.

File errorstack/__init__.py

View file
+# ensure the errorstack_handler is always added to the errorstack logger
+import errorstack.handlers

File errorstack/middleware.py

View file
 from django.conf import settings as django_settings
 from errorstack import settings
-from errorstack.handlers import logger
+logger = logging.getLogger(settings.LOGGER_NAME)
 class ErrorStackMiddleware(object):