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

feat: Clear logger state #453

Merged
merged 7 commits into from Jul 5, 2021
Merged

feat: Clear logger state #453

merged 7 commits into from Jul 5, 2021

Conversation

pankajagrawal16
Copy link
Contributor

@pankajagrawal16 pankajagrawal16 commented Jul 1, 2021

Issue #, if available: #452

Description of changes:

Ability to clear state of custom appended keys from logger context for each request even when its a warm execution.

Checklist

Breaking change checklist

RFC issue #:

  • Migration process documented
  • Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@pankajagrawal16 pankajagrawal16 changed the title Clear logger state feat: Clear logger state Jul 1, 2021
Copy link
Contributor

@msailes msailes left a comment

Choose a reason for hiding this comment

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

👍

Base automatically changed from correlation-id-injection to master July 5, 2021 10:56
# Conflicts:
#	powertools-logging/src/main/java/software/amazon/lambda/powertools/logging/Logging.java
#	powertools-logging/src/main/java/software/amazon/lambda/powertools/logging/internal/LambdaLoggingAspect.java
#	powertools-logging/src/test/java/software/amazon/lambda/powertools/logging/internal/LambdaLoggingAspectTest.java
@pankajagrawal16 pankajagrawal16 merged commit 55433a3 into master Jul 5, 2021
@pankajagrawal16 pankajagrawal16 deleted the clear-logger-state branch July 5, 2021 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants