This PR simply adds the ability to hide some URL parameters from being printed in logs. For example, if the url has a token of some kind as a query string parameter, we'd like for that to not be revealed in the log.
I think one way to test this is to check it out in vagrant, then overwrite the package in node_modules within probo-web ... You can feed the config an array of rewriteParams and a string of replacementText (though there are defaults in code too).
@lliss @tizzo - any chance we can have a review on this soon? If so, I have Probo time today and tomorrow, and could get the other projects using an updated request logger.
This PR simply adds the ability to hide some URL parameters from being printed in logs. For example, if the url has a token of some kind as a query string parameter, we'd like for that to not be revealed in the log.
I think one way to test this is to check it out in vagrant, then overwrite the package in
node_modules
withinprobo-web
... You can feed the config an array ofrewriteParams
and a string ofreplacementText
(though there are defaults in code too).