-
Notifications
You must be signed in to change notification settings - Fork 403
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
logger.append_keys()
is not thread-safe
#2040
Comments
Thanks for opening your first issue here! We'll come back to you as soon as we can. |
Closing as duplicated - here's the RFC #991 We'd need to implement contextvars now that we're finally on 3.7+. We'd appreciate a PR if you have the bandwidth. Meanwhile, you can use additional kwargs in any log statement (logger.info("test", order_id="uuid", payment_id="uuid") Thank you! |
|
This is now released under 2.11.0 version! |
Expected Behaviour
No failed tests.
Current Behaviour
Some of the tests will fail at random.
Code snippet
Possible Solution
No response
Steps to Reproduce
Run
pytest
with the snippet above. Some of the tests will fail at random.AWS Lambda Powertools for Python version
latest
AWS Lambda function runtime
3.9
Packaging format used
PyPi
Debugging logs
No response
The text was updated successfully, but these errors were encountered: