django/tests/regressiontests/logging_tests/logconfig.py

9 lines
186 B
Python
Raw Normal View History

import logging
from django.conf import settings
class MyHandler(logging.Handler):
def __init__(self):
logging.Handler.__init__(self)
self.config = settings.LOGGING