django/tests/regressiontests/logging_tests/logconfig.py

8 lines
164 B
Python
Raw Normal View History

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