> -----Original Message----- > From: Greg Ward [mailto:gward@mems-exchange.org] > Sent: 15 October 2001 14:26 > To: Ray Drew > Cc: quixote-users@mems-exchange.org > Subject: Re: [Quixote-users] where do mod_python print statements go? > [...] > > > If you add a call to Publisher.setup_logs().. > ^^^^^^^^^^^^^^^^^^^^ > I think you meant "mod_python_handler.handler()" there, right? What I was trying to say was if you add a call to the publisher setup_logs() method in the mod_python_handler handler() method. Sorry if that wasn't clear. > OK, I've coded your patch slightly differently: > > --- mod_python_handler.py 2001/09/28 21:03:22 1.5 > +++ mod_python_handler.py 2001/10/15 13:24:42 > @@ -44,4 +44,7 @@ > else: > - if not name2publisher.has_key(package): > - name2publisher[package] = ModPythonPublisher(package) > - return name2publisher[package].publish_modpython(req) > + pub = name2publisher.get(package) > + if pub is None: > + pub = ModPythonPublisher(package) > + pub.setup_logs() > + name2publisher[package] = pub > + return pub.publish_modpython(req) > > Can you apply that to the original mod_python_handler from > Quixote 0.4.1 > and verify that it works? Yes it works. Ray Drew CONFIDENTIALITY - The information in this e-mail and any attachment is confidential and is intended only for the named recipient(s). The E-mail may not be disclosed or used by any person other than the addressee, nor may it be copied in any way. If you are not a named recipient please notify the sender immediately and delete any copies of this message.