Opened 9 years ago
Closed 9 years ago
#25402 closed Cleanup/optimization (wontfix)
logging.dict.dictConfig should not be called when LOGGING_CONFIG is defined
Reported by: | John Begeman | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | 1.8 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I feel like a call to dictConfig defeats the purpose of defining LOGGING_CONFIG.
Ideally LOGGING_CONFIG should be the one responsible for doing all the logging definitions.
Code is here: https://github.com/django/django/blob/5153a3bfdcec82324d67ff79862384288cf6afe6/django/utils/log.py#L65
Change History (1)
comment:1 by , 9 years ago
Component: | Uncategorized → Core (Other) |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Type: | Uncategorized → Cleanup/optimization |
Note:
See TracTickets
for help on using tickets.
Have you read the documentation about this? Your proposal isn't backwards compatible as far as I can tell, so if you want to argue for that change, you should do so on the DevelopersMailingList. Thanks!