1
0
mirror of https://github.com/django/django.git synced 2025-02-26 18:35:00 +00:00
Claude Paroz fc69fff9ab Fixed #14861 -- Moved logging config outside of Settings.__init__
Thanks donspaulding for the report and simonpercivall for the
initial patch.
2012-09-24 22:12:45 +02:00

8 lines
164 B
Python

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