Add option for AbstractRequestLoggingFilter to blacklist certain headers #22244
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
So issue SPR-14245 requested the ability to log all headers coming in with a request be added to AbstractRequestLoggingFilter.
There are sometime headers that it would be beneficial not to log. Such as Authorization headers containing jwt tokens.
It would be useful to be able to provide a blacklist of some headers which are then not appended to the log message builder.
The text was updated successfully, but these errors were encountered: