[Zope3-Users] Zope3 PID file ?

Martijn Pieters mj at zopatista.com
Tue Jul 17 06:23:16 EDT 2007

On 7/17/07, Thierry Florac <thierry.florac at onf.fr> wrote:
> > What about "zopectl logreopen"?
> >
> "zopectl logreopen" works, but it seems that a SIGUSR2 signal is sent
> and that the whole Zope process is respawned.
> So I don't see any difference with "zopectl restart"... :-(
> Am I wrong ?

You are. There is a SIGUSR2 handler in Signals.Signals, which calls
the 'reopen' method on all active loggers..

Nowhere is there a signal handler that restarts Zope on SIGUSR2.
SIGHUP will cause a restart, SIGINT a shutdown, and SIGTERM a fast

Martijn Pieters

More information about the Zope3-users mailing list