bunyan-request-logger
bunyan-request-logger copied to clipboard
Needs configurable header filtering to remove sensitive information, like tokens.
For us, this is a must. We need at least a way to blacklist some request headers and JSON request and response body fields (if req/res body is ever supported). Whitelisting would definitely be a plus too. Since blacklisting can cause some security issues.
At the moment, the most reasonable option is to just copy the source code and customize it for our particular use-case.
Please feel free to open a pull request.