From a1ea26f058c3af8651303828e9b296e83b74befc Mon Sep 17 00:00:00 2001 From: jshkurti Date: Mon, 16 Feb 2015 17:19:23 +0100 Subject: [PATCH 1/5] Replaced console.log() by debug() in worker --- lib/God.js | 2 +- lib/Worker.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/God.js b/lib/God.js index cc102675..c0c05447 100644 --- a/lib/God.js +++ b/lib/God.js @@ -414,7 +414,7 @@ God.finalizeProcedure = function finalizeProcedure(proc) { var proc_id = proc.pm2_env.pm_id; if (proc.pm2_env.vizion_running === true) { - console.log('Vizion is already running for proc id: %d, skipping this round', proc_id); + debug('Vizion is already running for proc id: %d, skipping this round', proc_id); return God.notify('online', proc); } diff --git a/lib/Worker.js b/lib/Worker.js index fa87c80a..520dfef8 100644 --- a/lib/Worker.js +++ b/lib/Worker.js @@ -68,7 +68,7 @@ module.exports = function(God) { if (proc.pm2_env.vizion_running === true) { - console.log('Vizion is already running for proc id: %d, skipping this round', proc.pm2_env.pm_id); + debug('Vizion is already running for proc id: %d, skipping this round', proc.pm2_env.pm_id); return cb(); } From 4e579a76b80334147f581b3929d7b7629079d9d9 Mon Sep 17 00:00:00 2001 From: jshkurti Date: Mon, 16 Feb 2015 17:47:44 +0100 Subject: [PATCH 2/5] #990 fixed --- lib/Log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Log.js b/lib/Log.js index 91fe0fd3..8d084c72 100644 --- a/lib/Log.js +++ b/lib/Log.js @@ -95,7 +95,7 @@ Log.stream = function(path, title, lines){ // handle error. tail.stderr.on('data', function(data){ - tail.disconnect(); + tail.disconnect && tail.disconnect(); console.info(title, chalk.red(data.toString().replace(/\n/, ''))); }); From 01efed4b41ba83f3a9c10623ddb638adde199dc6 Mon Sep 17 00:00:00 2001 From: Joni Shkurti Date: Tue, 17 Feb 2015 16:38:50 +0100 Subject: [PATCH 3/5] Update HttpInterface.js --- lib/HttpInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/HttpInterface.js b/lib/HttpInterface.js index b147769b..74798cc3 100644 --- a/lib/HttpInterface.js +++ b/lib/HttpInterface.js @@ -28,7 +28,7 @@ http.createServer(function (req, res) { var path = urlT.parse(req.url).pathname; - console.log('Access on PM2 monit point %s', path); +// console.log('Access on PM2 monit point %s', path); if (path == '/') { From 13e1407362da31bf25fbeb5756ddd761e80808ec Mon Sep 17 00:00:00 2001 From: Unitech Date: Tue, 17 Feb 2015 11:34:35 -0500 Subject: [PATCH 4/5] Register link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e030a373..501b4972 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ $ pm2 save We are working on Keymetrics, a monitoring SaaS for PM2. It's still in beta, feel free to give it a try: -[Discover Keymetrics monitoring for PM2](https://keymetrics.io/) +[Discover the monitoring dashboard for PM2](https://app.keymetrics.io/#/register) Thanks in advance and we hope that you like PM2! From 06f3dd6ea26b26d86e6d13534784ae064c25c43e Mon Sep 17 00:00:00 2001 From: Joni Shkurti Date: Tue, 17 Feb 2015 17:50:46 +0100 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21f8bd93..72f22fc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.12.5 + +- Windows support + # 0.12.4 - Never start a process that already has a PID [#938]