Skip to content

docs(logger): warn append_keys on not being thread-safe #2046

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

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/core/logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ You can append additional keys using either mechanism:

#### append_keys method

???+ note
`append_keys` replaces `structure_logs(append=True, **kwargs)` method. structure_logs will be removed in v2.
???+ warning
`append_keys` is not thread-safe, please see [RFC](https://github.com/awslabs/aws-lambda-powertools-python/issues/991){target="_blank"}.

You can append your own keys to your existing Logger via `append_keys(**additional_key_values)` method.

Expand Down