Closed Bug 731212 Opened 14 years ago Closed 13 years ago

Refactor logging code for Django 1.5

Categories

(developer.mozilla.org :: Security, defect)

x86
macOS
defect
Not set
normal

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.
Aren't we just using python's logging module?
Version: Kuma → unspecified
Component: Website → Landing pages
Summary: refactor logging code → Refactor logging code for Django 1.4.1
James can you stick a p=<hours> estimate on this?
Flags: needinfo?(jbennett)
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
Django 15 -> Django 1.5. Getting ahead of myself here.
Summary: Refactor logging code for Django 15 → Refactor logging code for Django 1.5
Whiteboard: [subtask] c=Security → [subtask] c=Security p=
Blocks: 834326
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)
(though, for obvious reasons, it can't merge until we're at switch-flipping time)
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.