diff --git a/src/utils/ampoule/child.py b/src/utils/ampoule/child.py index 96c55296e..c9f2a08da 100644 --- a/src/utils/ampoule/child.py +++ b/src/utils/ampoule/child.py @@ -11,7 +11,6 @@ class AMPChild(amp.AMP): def connectionLost(self, reason): amp.AMP.connectionLost(self, reason) from twisted.internet import reactor - print "connectionLost called", reason try: reactor.stop() except error.ReactorNotRunning: @@ -29,9 +28,6 @@ class AMPChild(amp.AMP): import os os._exit(-1) - def processEnded(self, *args, **kwargs): - print "processEnded called", args, kwargs - def shutdown(self): """ This method is needed to shutdown the child gently without diff --git a/src/utils/ampoule/pool.py b/src/utils/ampoule/pool.py index 05e59cdaa..1c84c3556 100644 --- a/src/utils/ampoule/pool.py +++ b/src/utils/ampoule/pool.py @@ -134,7 +134,7 @@ class ProcessPool(object): Adds the newly created child process to the pool. """ def restart(child, reason): - log.msg("FATAL: Restarting after %s" % (reason,)) + #log.msg("FATAL: Restarting after %s" % (reason,)) self._pruneProcess(child) return self.startAWorker()