diff --git a/services/common/modules-testing/logging.js b/services/common/modules-testing/logging.js index 9fbf1d0acce..604cc48a3f6 100644 --- a/services/common/modules-testing/logging.js +++ b/services/common/modules-testing/logging.js @@ -23,11 +23,11 @@ this.initTestLogging = function initTestLogging(level) { this.errorsLogged += 1; } - return message.loggerName + "\t" + message.levelDesc + "\t" + - message.message + "\n"; + return message.time + "\t" + message.loggerName + "\t" + message.levelDesc + "\t" + + this.formatText(message) + "\n"; } }; - LogStats.prototype.__proto__ = new Log.Formatter(); + LogStats.prototype.__proto__ = new Log.BasicFormatter(); let log = Log.repository.rootLogger; let logStats = new LogStats();