Unify the identity of a process while logging. (#2325)

This commit is contained in:
Shuo
2018-07-05 05:26:19 +08:00
committed by Robert Nishihara
parent 1d51e57b6e
commit 8e687cbc98
2 changed files with 2 additions and 6 deletions
@@ -397,7 +397,7 @@ public class RunManager {
for (int j = 0; j < runInfo.allProcesses.get(i).size(); ) {
p = runInfo.allProcesses.get(i).get(j);
if (!p.process.isAlive()) {
RayLog.core.error("Process " + p.hashCode() + " is not alive!" + " Process Type "
RayLog.core.error("Process " + p.process.hashCode() + " is not alive!" + " Process Type "
+ types[i].name());
runInfo.deadProcess.add(p);
runInfo.allProcesses.get(i).remove(j);
@@ -454,7 +454,7 @@ public class RunManager {
if (killAll) {
runInfo.allProcesses.get(i).forEach(p -> {
if (killProcess(p.process)) {
RayLog.core.info("Kill process " + p.hashCode() + " forcely");
RayLog.core.info("Kill process " + p.process.hashCode() + " forcely");
}
});
} else {