On Apr 26, 7:01 pm, Tim-Erwin <p...@tim-erwin.de> wrote: > Thanks cd34 for your ideas. I use mod_python for other stuff on my > server, but that doesn't prevent me from also using mod_wsgi. > Especially, as it is already very well supported across python > applications and is said to perform better than mod_python. > Nonetheless, using mod_wsgi didn't help, I only got 500 codes. No > error output in any log file although I even get info messages. I > tested on a different system (should have done that much earlier), > there I got error output and found, it's the EvalException middleware > which I forgot to disable with > > [DEFAULT] > debug = false > > That's it. Haven't tested with mod_python any more, but it works well > with mod_wsgi. Does anybody have any further idea why I don't get > error output on my production system?
Possibly because Paste server does special configuration of logging module which isn't done if one uses loadapp() by itself to generate a WSGI application entry point. See: http://wiki.pylonshq.com/display/pylonscookbook/Logging+under+mod_wsgi So, if you aren't already, introduce the fileConfig() call as described along with appropriate .ini file entries. Graham > Thanks again > Tim > > On 25 Apr., 02:29, cd34 <mcd...@gmail.com> wrote: > > > > > > > LogLevel error > > > or, at worst: > > > LogLevel debug > > > in your apache config might produce more results in your error logs. > > > Your config looks right, but, the error logs are probably set to crit > > which is why you're not seeing anything of value in the logs. > > Remember you can also specify an ErrorLog directive in your > > virtualhost to cut down on messages. > > > If you are not using mod_python for anything else on the server, you > > might also considerhttp://code.google.com/p/modwsgi/ > > > -- > > You received this message because you are subscribed to the Google Groups > > "pylons-discuss" group. > > To post to this group, send email to pylons-disc...@googlegroups.com. > > To unsubscribe from this group, send email to > > pylons-discuss+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/pylons-discuss?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to pylons-disc...@googlegroups.com. > To unsubscribe from this group, send email to > pylons-discuss+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/pylons-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.