Commit c21f054e authored by Julien Muchembled's avatar Julien Muchembled

client: register log rotation when running in Zope

parent 3428da3c
......@@ -49,6 +49,13 @@ from .container import ThreadContainer, TransactionContainer
CHECKED_SERIAL = master.CHECKED_SERIAL
try:
from Signals.Signals import SignalHandler
except ImportError:
SignalHandler = None
if SignalHandler:
import signal
SignalHandler.registerHandler(signal.SIGUSR2, logging.reopen)
class Application(object):
"""The client node application."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment