On 7/17/07, Thierry Florac <[EMAIL PROTECTED]> 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
shutdown.

--
Martijn Pieters
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to