1
0
Fork 0

Nicer print of pid.

This commit is contained in:
Max Neunhoeffer 2014-02-21 16:04:45 +01:00
parent f7e57a5b47
commit 25e4ac19ed
1 changed files with 2 additions and 2 deletions

View File

@ -316,7 +316,7 @@ launchActions.createSystemColls = function (dispatchers, cmd) {
};
shutdownActions.startAgent = function (dispatchers, cmd, run) {
console.info("Shutting down agent %s", run.pid);
console.info("Shutting down agent %s", JSON.stringify(run.pid));
killExternal(run.pid);
return {"error": false, "isStartAgent": true};
};
@ -392,7 +392,7 @@ cleanupActions.startServers = function (dispatchers, cmd, isRelaunch) {
};
isHealthyActions.startAgent = function (dispatchers, cmd, run) {
console.info("Checking health of agent %s", run.pid);
console.info("Checking health of agent %s", JSON.strinfify(run.pid));
var r = statusExternal(run.pid);
r.isStartAgent = true;
r.error = false;