On 22 août, 13:27, Reinout van Rees <[email protected]> wrote: > > Probably all your logging statements are executed right at file import > time before the logging is actually configured.
Using the DictConfig in settings.py, the logger is configured before the apps models / views / whatever are imported. @Scott: Are you running the dev server ? If yes, the settings module should be imported "only" twice so you may import it directly (ie: "import settings") from your app. If yes, replace this with "from django.conf import settings", which is the right way to access the settings from an app. -- You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en.

