Ivan Sagalaev wrote:
> Standard Python logging configuration has 
> a noticable gap between very simplistic basicConfig which configures 
> only a root channel and a verbose imperative definition of handler 
> objects, formatter objects and logger objects.

Forgot one thing. As it stands now Django has this "historic" behavior 
when it imports and executes settings module twice. This results in 
breakage when you setup loggers and handlers by hand. We now circumvent 
this by having a helper function that memoizes configured loggers and 
call it from settings.py. Having a declarative config we can hide this 
inside of Django and not scare users.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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 this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to