[ZODB-Dev] restart log weirdness
Guido van Rossum
guido@python.org
Fri, 11 Oct 2002 09:17:25 -0400
> I'm experimenting with SIGUSR2 in ZEO/start.py. This signal (now) is
> supposed to reopen the log file.
>
> The weirdness is that after sending the signal, the storage server
> process indeed reopens the log file, but the zdaemon appears to stop
> logging!
Solved. The problem was not in zdaemon, but in the
rotate_logs_handler(), which was resetting the SIGHUP handler instead
of the SIGUSR2 handler.
--Guido van Rossum (home page: http://www.python.org/~guido/)