Log when we terminate procs
@@ -311,6 +311,10 @@ def kill_active_popen_calls(bid):
with persist.active_procs_lock:
procs = persist.active_procs[bid][:]
+ if procs:
+ logger.info('Friendly terminate: {}'.format(
+ ', '.join('<pid {}>'.format(proc.pid) for proc in procs)
+ ))
for proc in procs:
proc.terminate()
