Re: [Zope-dev] zLog and stderr

2001-09-26 Thread Dieter Maurer
Stefan H. Holek writes: > AFAIK, setting the STUPID_LOG_FILE envar in the start script will provide > stdout/stderr to Zope. "stderr" but not "stdout" Long time ago, I switched to "STUPID_LOG_FILE=...". >From this time on, I never again saw a write to "stderr" appear outside the log file.

Re: [Zope-dev] zLog and stderr

2001-09-26 Thread Dieter Maurer
Toby Dickenson writes: > I think it makes sense that Zope should replace sys.stderr with an > object that sends messages to zLog, however zLog itself sometimes > wites to sys.stderr. "zLog" writes to stderr only when there is no log file defined Dieter ___

Re: [Zope-dev] zLog and stderr

2001-09-26 Thread Stefan H. Holek
On Wed, 26 Sep 2001, Toby Dickenson wrote: > I have some old python modules which are generating messages from the > new python 2.1 warning framework. I can easily fix these modules, > however it has exposed a problem in Zope.. > > The warning framework tries to write to sys.stderr, and my Z

Re: [Zope-dev] zLog and stderr

2001-09-26 Thread Steve Alexander
Toby Dickenson wrote: > I have some old python modules which are generating messages from the > new python 2.1 warning framework. I can easily fix these modules, > however it has exposed a problem in Zope.. > > The warning framework tries to write to sys.stderr, and my Zope is > dying fro