Closed
Bug 731212
Opened 14 years ago
Closed 13 years ago
Refactor logging code for Django 1.5
Categories
(developer.mozilla.org :: Security, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: groovecoder, Unassigned)
References
Details
(Whiteboard: [subtask] c=Security p=)
our existing
logging facility conflicts with the one available as of Django 1.3. We
use a setting named LOGGING for this, which is a dictionary of
configuration for our logging; Django 1.3 also uses a setting named
LOGGING for this, and bails when it can't find the appropriate keys in
the dictionary for how Django's built-in logging is configured.
Fixing this one is trickier; our options here are to switch over to
Django's native logging support, or rewrite a bit so that we use a way
of configuring our logging that doesn't clash with Django.
When I ran out of testing time, I was taking the first option there,
and just setting up a logging config that matches Django's expected
format. The test suite was still unable to bootstrap, though.
Comment 1•14 years ago
|
||
Aren't we just using python's logging module?
| Assignee | ||
Updated•13 years ago
|
Version: Kuma → unspecified
| Assignee | ||
Updated•13 years ago
|
Component: Website → Landing pages
Updated•13 years ago
|
Summary: refactor logging code → Refactor logging code for Django 1.4.1
| Reporter | ||
Comment 2•13 years ago
|
||
James can you stick a p=<hours> estimate on this?
| Reporter | ||
Updated•13 years ago
|
Flags: needinfo?(jbennett)
Updated•13 years ago
|
Component: Landing pages → Security
Summary: Refactor logging code for Django 1.4.1 → Refactor logging code for Django 15
Whiteboard: u=developer c=infrastructure p= → [subtask] c=Security
Comment 3•13 years ago
|
||
Django 15 -> Django 1.5. Getting ahead of myself here.
Summary: Refactor logging code for Django 15 → Refactor logging code for Django 1.5
Updated•13 years ago
|
Whiteboard: [subtask] c=Security → [subtask] c=Security p=
Comment 4•13 years ago
|
||
This branch refactors everything except the celery logging, which we don't seem to actually be using at the moment. Once we do use it, we can put it back in:
https://github.com/ubernostrum/kuma/tree/logging-refactor
Flags: needinfo?(jbennett)
Comment 5•13 years ago
|
||
(though, for obvious reasons, it can't merge until we're at switch-flipping time)
Comment 6•13 years ago
|
||
Tracking this as a subtask in Kanbanery.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•