Friday, November 1, 2013

Logging warnings inside settings.py

Hi,

I am trying to log warnings inside settings.py. I want to log warnings
when settings (from an outside source) are not provided, but the
application can continue. Is this possible? It seems like this might
not work as logging requires settings.py in order to be configured,
but I want to log earlier than that.

Thanks,
Jon

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADhq2b7%3DuvtQpffe3%3DEBZnbKUxe-YNTbc0ykdQEROdWF58TH1A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment