[Zope] Zope startup msgs

Dieter Maurer dieter at handshake.de
Sun Mar 7 13:59:29 EST 2004


John Poltorak wrote at 2004-3-6 20:42 +0000:
>Is there any way of getting Zope's startup msgs into a log?

They go there, provided Zope lives long enough to do it.

Zope does not put them directly into this log file for two
reasons:

  *  when starting up, it does not know where (and how) to log
     for this, it must have read its configuration file

  *  Zope allows to switch the process user after ports
     have been opened.
     When the log file is opened too early, they are owned
     by the wrong owner.

>They don't appear in Z2.log.

"Z2.log" is (by default) the so called "access log file".
Each request (!) gets a line there on termination.

Problems are logged in the so called "event log file".

-- 
Dieter



More information about the Zope mailing list