express-winston
express-winston copied to clipboard
Hide all body response on particular routes
Hello there, I didn't manage to find a way to hide all the body of a response for a particular route.
My problem is when express respond with a binary (eg a zip file), the console is flooded with binary data... I'd like to prevent this without loosing the access log. I tried to set req._routeBlacklists.body = ['*'] with no success...
Any idea on how to do?
Thanks
Hi is this possible?