Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Updated lazy loaded logger_details #593

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

Conversation

TheCodeWrangler
Copy link
Contributor

What was changed

This PR updates the lazy loading behavior for activity _logger_details so that activity details will be included in logging outputs even if not preloaded by adding to message.

Solution identified/proposed by @cretz in this Issue: #592

Why?

Desire to allow activity logs to include extra information without adding them to the message string.

Checklist

  1. Closes 592

  2. How was this tested: Manually running logs

  1. Any docs updates needed? No

@TheCodeWrangler TheCodeWrangler requested a review from a team as a code owner July 24, 2024 14:38
@CLAassistant
Copy link

CLAassistant commented Jul 24, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

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

Looks great! I'll merge after CI runs.

@cretz cretz merged commit a839196 into temporalio:main Jul 24, 2024
12 checks passed
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.

[Bug] Activity logger context not populated when activity_info_on_message False
3 participants