jvandal / modwsgi

Automatically exported from code.google.com/p/modwsgi
0 stars 0 forks source link

How can I redirect the Exception output from apache log to the browser, like mod_python? #152

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I use apache+mod_wsgi+django
2.And how can I reload the source code during every request?
3.You should improve your documentation, guys, lol.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by huangbut...@gmail.com on 2 Aug 2009 at 4:21

GoogleCodeExporter commented 8 years ago
Django has its own mechanism for capturing exceptions and displaying them in 
the browser. Read the Django 
documentation for information about how to configure it to display tracebacks 
in the browser. Also read the 
mod_wsgi documentation:

http://code.google.com/p/modwsgi/wiki/DebuggingTechniques

For source code reloading, you don't want to reload on every request, it is a 
bad idea. You are better off with 
triggered reloading, be it manual or via a code monitor.  Again, read the 
mod_wsgi documentation:

http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode

As to improving documentation, the information is there is one looks properly. 
:-)

Original comment by Graham.Dumpleton@gmail.com on 3 Aug 2009 at 2:17