From 1cb4884db56c774e89db80bd0e79a9765441548d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 6 Dec 2015 21:36:57 +0100 Subject: Logging refractoring --- middlewares/reqValidators/remote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'middlewares/reqValidators/remote.js') diff --git a/middlewares/reqValidators/remote.js b/middlewares/reqValidators/remote.js index 642dad1c7..a9d2cdf20 100644 --- a/middlewares/reqValidators/remote.js +++ b/middlewares/reqValidators/remote.js @@ -12,7 +12,7 @@ req.checkBody('key', 'Should have a key').notEmpty() req.checkBody('data', 'Should have data').notEmpty() - logger.debug('Checking secureRequest parameters', { parameters: req.body }) + logger.debug('Checking secureRequest parameters', { parameters: { data: req.body.data, keyLength: req.body.key.length } }) checkErrors(req, res, next) } -- cgit v1.2.3