On 11/25/05, stava <[EMAIL PROTECTED]> wrote:
> Has anyone been able to capture the output from "DEBUG = True" when
> using mod_python? I would have expected it to show up in the apache
> log, but it didn't.

The short answer is that Django handles the errors, so errors don't
show up in your error_log. If you add yourself to the ADMINS setting
and set the EMAIL_HOST setting, Django will e-mail you each time
there's an error if DEBUG = False. (Yes, this behavior is currently
undocumented.)

I've added an "Error handling" section to the Django/mod_python docs.
Thanks for the question.

http://www.djangoproject.com/documentation/modpython/#error-handling

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to