diff --git a/lib/fiware-pep-steelskin.js b/lib/fiware-pep-steelskin.js index 3b1946f..2de643c 100644 --- a/lib/fiware-pep-steelskin.js +++ b/lib/fiware-pep-steelskin.js @@ -85,6 +85,8 @@ function accountInfoError(error, req, res, next) { ' | SubServiceId=' + req.subserviceId + ' | SubService=' + req.subService + ' | Action=' + req.action + + ' | Path=' + req.path + + ' | Body=' + JSON.stringify(req.body) + ' | Date=' + new Date().toJSON()); next(error); } diff --git a/lib/middleware/proxy.js b/lib/middleware/proxy.js index a2f0dd2..0dd8014 100644 --- a/lib/middleware/proxy.js +++ b/lib/middleware/proxy.js @@ -207,6 +207,8 @@ function accountInfo(req, res, next) { ' | SubServiceId=' + req.subserviceId + ' | SubService=' + req.subService + ' | Action=' + req.action + + ' | Path=' + req.path + + ' | Body=' + JSON.stringify(req.body).slice(0, 100) + ' | Date=' + new Date().toJSON()); }); }