Commit 998540a4 authored by Killian Kemps's avatar Killian Kemps
Browse files

Remove date in logging as it is badly implemented

parent 8ef206b4
......@@ -12,17 +12,6 @@ var http = require('http').Server(app);
var io = require('socket.io')(http);
var port = process.env.PORT || 8080;
// Add some logging
["log", "warn", "error"].forEach(function(method) {
var oldMethod = console[method].bind(console);
console[method] = function() {
oldMethod.apply(
console,
[new Date().toISOString()].concat(arguments[0])
);
};
});
// Configuration file for the DB
var dbconfig = require('./config/db');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment