// Clear out the LogRegistry (which is used to check for duplicate
// log files).
LogUtils.clearManagersFromLogRegistry(manager);
// Request for the manager to stop running.
manager.stopRunningRequest(false);
}
// Wait for the managers to stop and restart.
for (int i = 0; i < managerArray.length; i++) {