bithavoc / express-winston

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

Feature Request: errorLogger filtering based on bodyBlackList #119

Open charlesdeuter opened 8 years ago

charlesdeuter commented 8 years ago

Title says it all, the errorLogger doesn't filter out properties based on the bodyBlackList. I'm guessing this falls more into the category of 'feature request' than bug, or is there some reasoning behind this?

This seems like a very simple thing implement given what's there already, if it's simple down to lack of time I'd love to help out.

rosston commented 8 years ago

Sorry, late reply. Sure enough, you are right. That is definitely an oversight and unintended behavior.

If you want to take a stab at implementing it, please feel free. Otherwise, I can get to it eventually, but it might take a little bit.