| Dustin Mitchell 
    dustin at ywlcs.org Thu Jul 3 08:22:11 EST 2003 
 On Wed, Jul 02, 2003 at 08:28:35PM -0700, Daniel Rubin wrote:
> 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?
I usually open an external file in append mode and write to that.  Then
I tail -f that file, and there's the information I wanted!  It has the
advantage that nothing in the Apache config can cause me to miss
selected messages or anything like that.
Dustin
-- 
  Dustin Mitchell
  dustin at ywlcs.org/djmitche at alumni.uchicago.edu
  http://people.cs.uchicago.edu/~dustin/
 |