diff --git a/common/utilities.js b/common/utilities.js index c14f2b3..aabf636 100644 --- a/common/utilities.js +++ b/common/utilities.js @@ -15,7 +15,8 @@ let excluded = [ //errors that should not be logged const log = (msg, ...args) => { if (excluded.indexOf(msg) === -1) { - console.log(`log ${Date()}: ${msg} (${args.toString()})`); + let dateString = Date().replace(/\s\(.*\)/i, ''); //dumb formatting + console.log(`log ${dateString}: ${msg} (${args.toString()})`); } return msg; }