On Thu, Dec 18, 2008 at 3:18 PM, Stefan Wallner
<[email protected]> wrote:
>
>> Lets make sure that mod_wsgi logging is working at all.
>>
>> If you add before that code:
>>
>>   import sys
>>   print >> sys.stderr, "ABOUT TO ERROR"
>>
>> Does that appear in Apache error log?
>>
> Duh, should have though about this before. This indeed works, so I
> guess that Django catches the exception but never logs or mails it? At
> least now I have a better idea of what's going on, thank you!

We use Django (heavily patched pre-1.0) and every time our site
encounters an Internal Server Error (usually due to canceled file
uploads), it *always* gets logged in errors log along with a
traceback. We have also set it up so that tracebacks are mailed to dev
team. But this is on Linux, so either this is Windows-specific or
Django version-specific.
-- 
Best Regards,
Nimrod A. Abing

W http://arsenic.ph/
W http://preownedcar.com/
W http://preownedbike.com/
W http://abing.gotdns.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" 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/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to