Hi, let me first admit that this is a repost of my message to django-users since I am now beginning to wonder if this is more a mod_wsgi (configuration/etc) issue instead of Django related. Sorry for crossposting, but this problem is given me a major headache and I cannot seem to find anything wrong with the Django configuration.
Thanks for any help, if you need more details let me know. Stefan Message from django-users (http://groups.google.com/group/django-users/ browse_thread/thread/75102033de50ee06) I am running Django 1.0 on Windows Server 2003, Python 2.5 with mod_wsgi. I am having trouble capturing any exceptions in my code either through Apache's error log or by having an email sent to me. As a simple test I added a = [1,2,3] b = a[4] to the top of one of my views, which does generate an IndexError exception, but is not being reported in the error log or by email either. The mod_wsgi configuration is stricly as described on mod_wsgi's website (http://code.google.com/p/modwsgi/wiki/ IntegrationWithDjango), but even with LogLevel info in my Apache conf I do not see anything in my error log (related to the exception in the Django code, a bunch of other Apache messages do get printed). As for receiving the stack traces via email I have SERVER_EMAIL, etc. setup and can confirm that it works when I am running it with the development server and I can send email on this server (tested both on the dev server and the production server by a different part of code in my application). If DEBUG is set to True I can see the stack trace in the browser, but with true production mode all errors are silently lost. Any ideas or pointers on what is going on or what else I should do? Thanks, Stefan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
