Closed ghost closed 7 years ago
Example:
bodyBlacklist: ['foo']
requestWhitelist: ['body']
foo
{ foo: 'foobar' }
{ foo: 'thisWillNotPrint', someProp: 'thisWillPrint' }
This appears to be the underlying culprit: https://github.com/bithavoc/express-winston/blob/master/index.js#L246-L247
Will see if I can get a PR up soon to resolve.
Resolved by https://github.com/bithavoc/express-winston/pull/129
Fix is released in 2.1.1.
Example:
bodyBlacklist: ['foo']
requestWhitelist: ['body']
foo
i.e{ foo: 'foobar' }
{ foo: 'foobar' }
as the body.{ foo: 'thisWillNotPrint', someProp: 'thisWillPrint' }
This appears to be the underlying culprit: https://github.com/bithavoc/express-winston/blob/master/index.js#L246-L247
Will see if I can get a PR up soon to resolve.