Closed oleiba closed 7 years ago
Hi, I had the same issue. After the fix in https://github.com/bithavoc/express-winston/commit/dc4891f45a920c6db3c1e5427b04a9ff4a783b13 it seems that you must have either a body whitelist or a body blacklist Adding an arbitrary (non-existent) property to the black list will log all body props. options.bodyBlacklist = ['noop']
Fixed and released in 2.1.3.
As per the latest version 2.1.2,
requestWhitelist.push('body')
does not bring to displaying the request's body. In 2.1.0 it works. I assume the break occurred in the version bump to 2.1.1.