Skip to content

Node.js based forum software built for the modern web

fix julian's console.log voodoo

psychobunnya078fd82e7a2
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');
};
}