Closed
Bug 750248
Opened 12 years ago
Closed 10 years ago
Use dictConfig logging configuration
Categories
(developer.mozilla.org Graveyard :: General, enhancement)
developer.mozilla.org Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jsocol, Unassigned)
Details
(Whiteboard: [dev-papercut])
We should get rid of log_settings and use the real/modern dictConfig logging configuration for Django[1]. That would make it much easier to set up Raven/Sentry[2] to handle logs as well as tracebacks. [1] https://docs.djangoproject.com/en/1.4/topics/logging/#an-example [2] http://raven.readthedocs.org/en/latest/config/django.html
Reporter | ||
Updated•12 years ago
|
Assignee | ||
Updated•12 years ago
|
Component: Website → Landing pages
Comment 1•10 years ago
|
||
:groovecoder, is this still valid?
Severity: normal → enhancement
Component: Landing pages → General
Flags: needinfo?(lcrouch)
Whiteboard: [dev-papercut]
Comment 2•10 years ago
|
||
We have a config dictionary for logging. I can't see if we're using dictConfig specifically though. :ubernostrum ?
Flags: needinfo?(lcrouch) → needinfo?(jbennett)
Comment 3•10 years ago
|
||
Django's logging system converts what you put in settings.py into the appropriate dictConfig under the hood.
Flags: needinfo?(jbennett)
Updated•10 years ago
|
Whiteboard: [dev-papercut] → [dev-papercut][closeme?]
Comment 4•10 years ago
|
||
Ok, I'm going to close this as FIXED. Please feel free to reopen it with more information if this request is still valid.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [dev-papercut][closeme?] → [dev-papercut]
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•