Skip to content

Add option for AbstractRequestLoggingFilter to blacklist certain headers #22244

Closed
@nathan-me-lawrence

Description

@nathan-me-lawrence

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.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions