bithavoc / express-winston

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

Allow dot-delimited blacklisting and whitelisting #218

Open tgrowden opened 5 years ago

tgrowden commented 5 years ago

Ideally, I'd like to see dot-delimited blacklisting/whitelisting e.g.

const config = {
  bodyBlacklist: [ "foo.bar" ]
}

It should be relatively simple; if interested, I can work on a PR as time allows.

rosston commented 5 years ago

There's an issue for this: https://github.com/bithavoc/express-winston/issues/66

The only complexity I came up with when thinking about this a while ago is here: https://github.com/bithavoc/express-winston/issues/66#issuecomment-220218541

mi-mazouz commented 3 years ago

any update on this?