Friday, August 6, 2010

Why can't I set debug = False and have django log to stderr?

folks -

This is really annoying me. I want to set DEBUG=False for production
and catch all errors logs (in my case, 500) in the servers log file.
Sounds simple enough, but not the case here. DJango seems to only want
to send such errors via email. When I generate a 500 error, then
500.html gets displayed, but No error log as to what the root cause
it. Whats up with that?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment