Skip to content

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Add update info to MDC context

closes: #2237

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner October 8, 2024 01:21
Comment on lines +171 to +172
MDC.put(LoggerTag.UPDATE_ID, updateInfo.getUpdateId());
MDC.put(LoggerTag.UPDATE_NAME, updateInfo.getUpdateName());
Copy link
Member

Choose a reason for hiding this comment

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

Can you confirm MDC is reset on workflow threads before they are reused?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit d1dc2e1 into temporalio:master Oct 8, 2024
8 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.

Show update handler and ID in logging context
2 participants