#18316: settings.configure() does not apply LOGGING_CONFIG
------------------------------------+------------------------------------
Reporter: luch@… | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: 1.4
Severity: Normal | Resolution:
Keywords: settings configure | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------------+------------------------------------
Changes (by claudep):
* stage: Design decision needed => Accepted
Comment:
This is at least against documentation. Quoted from
https://docs.djangoproject.com/en/dev/topics/logging/#configuring-logging:
Logging is configured as soon as settings have been loaded (either
manually using configure() or when at least one setting is accessed).
Since the loading of settings is one of the first things that Django does,
you can be certain that loggers are always ready for use in your project
code.
I think this should be fixed.
--
Ticket URL: <https://code.djangoproject.com/ticket/18316#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.