bithavoc / express-winston

express.js middleware for winstonjs
https://www.npmjs.com/package/express-winston
MIT License
797 stars 187 forks source link

errorLogger not affected by bodyBlacklist #179

Open NeilKwon opened 6 years ago

NeilKwon commented 6 years ago

as mentioned on Title,

bodyBlackList only filter out Logger's request body.

exceptionMeta.req.body = filteredBody;

Like above line So I made a bit small changes on errorLogger. And wish to create a new branch or push code to be reviewed. Thanks

crellison commented 5 years ago

Could you explain your issue in more detail? How do you expect bodyBlacklist to work? Can you provide an example of how it is failing to perform to your expectations? If you have a suggested contribution, feel free to share your improvements.