On 22 août, 13:27, Reinout van Rees <rein...@vanrees.org> 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 django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.