Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow apps to specify methods carrying sensitive parameters #33398

Merged
merged 2 commits into from
Aug 5, 2022

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Jul 28, 2022

… in order to remove them from logging.

Apps are empowered to enlist those methods by class through the IRegistrationContext. Since we need to get those values in the Logger, we need to manoeuver around dependencies. The ExceptionSerializer was already being instantiated before every time logging an exception.

What do you think?

When this approach is agreeable, I would further propose to backport. With IRegistrationContext.php an API is extended, however it is not being implemented outside of server.

… in order to remove them from logging.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@szaimen szaimen added the pending documentation This pull request needs an associated documentation update label Jul 29, 2022
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews pending documentation This pull request needs an associated documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants