﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5677	Debugging with mod_python (apache)	Manfred Wassmann <manolo@…>	Nick Efford	"This is what the docs say:
{{{
If you’re the type of programmer who debugs using scattered print statements, note that print statements
have no effect in mod_python; they don’t appear in the Apache log, as one might expect. If you have the
need to print debugging information in a mod_python setup, either do this:

assert False, the_value_i_want_to_see

Or add the debugging information to the template of your page.
}}}

This is not completely true. Everything you write to sys.stderr ends up in the apache error log, like this
{{{
import sys
sys.stderr.write('This goes to the apache error log')
}}}"		closed	Documentation	dev		fixed	mod_python		Ready for checkin	1	0	0	0	0	0
