From 4b3ea3ba2e3ed3327e55cfb9cba7127539e68fca Mon Sep 17 00:00:00 2001 From: tknew2 Date: Wed, 1 Oct 2014 17:55:42 +0200 Subject: [PATCH] Revert "full debug" This reverts commit 34b322a53b209c02013596a0dd135e227da33a32. --- lib/God.js | 3 +-- test/index.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/God.js b/lib/God.js index 98d165c8..353016a1 100644 --- a/lib/God.js +++ b/lib/God.js @@ -337,7 +337,6 @@ God.finalizeProcedure = function finalizeProcedure(proc) { vizionar({folder : current_path}, function recur_path(err, meta){ current_path = path.dirname(current_path); - debug('Trying folder %s', current_path, proc.pm2_env.name, proc.pm2_env.pm_id); if (err) @@ -354,7 +353,7 @@ God.finalizeProcedure = function finalizeProcedure(proc) { //God.notify('online', proc); } else { - debug('Retrying folder'); + debug('Retrying folder', meta); vizionar({folder : current_path}, recur_path); } }); diff --git a/test/index.sh b/test/index.sh index 6ba101ec..0519664c 100644 --- a/test/index.sh +++ b/test/index.sh @@ -25,7 +25,7 @@ $pm2 kill if [ $TRAVIS ] then - export DEBUG="*" + export DEBUG="pm2:*" fi mocha ./test/programmatic/god.mocha.js