winstonjs / winston

A logger for just about everything.
http://github.com/winstonjs/winston
MIT License
22.64k stars 1.8k forks source link

hiding or masking query string in url #1852

Open devagirir opened 3 years ago

devagirir commented 3 years ago

Please tell us about your environment:

What is the problem?

We want to hide or mask query string from appearing in logs. With the current options is it possible to hide them? For example in an URL like /test.svc/tests?%24top=51&%24search=itsme&%sessionid=true, we want to hide/mask sessionid from appearing in logs. I checked current options, but it does not seem to be supporting.

What do you expect to happen instead?

Hide or mask query string or query params from URL

Other information

azozello commented 3 years ago

Hi, i would like to help with this issue. If this issue is not relevant, I would be happy to take any other issue.