Daniel Rubin
dlrubin at yahoo.com
Wed Jul 2 20:28:35 EST 2003
Putting sys.stderr.flush() into my xmlrpc.py doesn't cause anything to get written to the apache log file. I've even tried sys.stderr.write("stuff") and it doesn't seem to appear anywhere (console nor apache logs). Is there no way to track what's going on in the code running on the server side in mod_python? Thanks, Daniel --- Gregory Bond <gnb at itga.com.au> wrote: > > working and I'm unable to get mod_python to record > any > > error messages about this particular event to the > > apache error log. > > stderr in mod_python goes to the apache error log > but it is buffered. You > need to use sys.stderr.flush() at appropriate times. > > See FAQ 2.3: > > http://www.modpython.org/FAQ/faqw.py?req=show&file=faq02.003.htp > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
|