From a078fd82e7a2c8528bbad5ce16987f6a17f89274 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 31 Mar 2016 12:26:51 -0400 Subject: [PATCH] fix julian's console.log voodoo --- loader.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/loader.js b/loader.js index 7672ebf6dd..b78abdc4a1 100644 --- a/loader.js +++ b/loader.js @@ -34,8 +34,9 @@ var pidFilePath = __dirname + '/pidfile', Loader.init = function(callback) { if (silent) { - console.log = function(value) { - output.write(value + '\n'); + console.log = function() { + var args = Array.prototype.slice.call(arguments); + output.write(args.join(' ') + '\n'); }; }