diff --git a/CHANGELOG.md b/CHANGELOG.md index 007a1629b..e82383ac8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - #2526 Expose .launchAll() method to API - #2351 inner pm2 actions - drop autorestart and node_args options - #2530 Make sure all processes are killed on system signal to PM2 +- #281 allow to combine PM2_SILENT + pm2 jlist to avoid extra data - Alias attributes error_file to err_file + err_log + err, alias out_file to out, out_log - Do not ask for pass for set/multiset from KM diff --git a/lib/API.js b/lib/API.js index e9f88429f..1060f0061 100644 --- a/lib/API.js +++ b/lib/API.js @@ -1383,10 +1383,10 @@ API.prototype.jlist = function(debug) { } if (debug) { - Common.printOut(util.inspect(list, false, null, false)); + process.stdout.write(util.inspect(list, false, null, false)); } else { - Common.printOut(JSON.stringify(list)); + process.stdout.write(JSON.stringify(list)); } that.exitCli(conf.SUCCESS_EXIT);