From 68d4f5e2faf3275eee7cbf7eba7adffb74fc1ff4 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 18 Feb 2017 09:23:19 -0500 Subject: [PATCH] avoid intercepting logs when using cmds that don't need plugins and the logger --- lib/cmd.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/cmd.js b/lib/cmd.js index b7dbf71d..539db0aa 100644 --- a/lib/cmd.js +++ b/lib/cmd.js @@ -58,7 +58,8 @@ Cmd.prototype.build = function() { .description('deploy and build dapp at dist/ (default: development)') .action(function(env, options) { self.Embark.initConfig(env || 'development', { - embarkConfig: 'embark.json' + embarkConfig: 'embark.json', + interceptLogs: false }); self.Embark.build(env || 'development'); }); @@ -96,7 +97,8 @@ Cmd.prototype.blockchain = function() { .description('run blockchain server (default: development)') .action(function(env ,options) { self.Embark.initConfig(env || 'development', { - embarkConfig: 'embark.json' + embarkConfig: 'embark.json', + interceptLogs: false }); self.Embark.blockchain(env || 'development', options.client || 'geth'); }); @@ -112,7 +114,8 @@ Cmd.prototype.simulator = function() { .option('-h, --host [host]', 'host to run the rpc simulator (default: localhost)') .action(function(env, options) { self.Embark.initConfig(env || 'development', { - embarkConfig: 'embark.json' + embarkConfig: 'embark.json', + interceptLogs: false }); self.Embark.simulator({port: options.port, host: options.host}); });