Skip to content

Commit f5824ee

Browse files
authored
docs(logger): warn append_keys on not being thread-safe (#2046)
1 parent a46bfa8 commit f5824ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/core/logger.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ You can append additional keys using either mechanism:
162162

163163
#### append_keys method
164164

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

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

0 commit comments

Comments
 (0)