From ceab8a01808feca0301e5d1711df2beb7dcd86b3 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 13 Jun 2018 20:58:59 -0600 Subject: [PATCH] Code cleanup --- core/logger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/logger.js b/core/logger.js index 1f1efde2..063757ff 100644 --- a/core/logger.js +++ b/core/logger.js @@ -26,12 +26,12 @@ module.exports = class Log { } const serializers = { - err : bunyan.stdSerializers.err, // handle 'err' fields with stack/etc. + err : bunyan.stdSerializers.err, // handle 'err' fields with stack/etc. }; // try to remove sensitive info by default, e.g. 'password' fields [ 'formData', 'formValue' ].forEach(keyName => { - serializers[keyName] = (fd) => Log.hideSensitive(fd); + serializers[keyName] = (fd) => Log.hideSensitive(fd); }); this.log = bunyan.createLogger({