Unable to use logging.config.fileConfig
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
django-configglue |
New
|
Undecided
|
Unassigned |
Bug Description
According to the docs [1] Django's LOGGING setting is an (unspecified) data-structure - "The contents of this data structure will be passed as the argument to the configuration method described in LOGGING_CONFIG."
It defaults to a dict because the default method for LOGGING_CONFIG is django.
That said, I don't understand how django itself does this, as it passes DEFAULT_CONFIG (a dict) to the specified config method before using the custom LOGGING_CONFIG [2]
As a work-around, I'm calling the logging configuration in my settings.py after configglue has parsed the settings.
[1] https:/
[2] https:/