From 9e9202be8e6bca6b9f04aae3fdbb18162cd706b9 Mon Sep 17 00:00:00 2001 From: baldo Date: Tue, 24 May 2016 19:43:00 +0200 Subject: [PATCH] Fix: Don't keep tags of suppressed debug log events. --- server/logger.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/logger.js b/server/logger.js index 4c17da1..718a479 100644 --- a/server/logger.js +++ b/server/logger.js @@ -23,7 +23,9 @@ if (config.server.logging.debug) { logInConsole: false }); } else { - process.console.debug = function () {}; + process.console.debug = function () { + this._reset(); // forget tags, etc. for this logging event + }; } angular.module('ffffng').factory('Logger', function (app) {