Skip to content

Conversation

@jmdacruz
Copy link
Contributor

What was changed

Fix for #276, removing the calls to super().process(...) so that we do not overwrite the extra attributes for the log record.

Why?

So that we can properly support structured logging with extra attributes

Checklist

  1. Closes [Bug] logging adapter does not include extra attributes? #276
  2. How was this tested: Tested against the patched "hello_activity.py" described in [Bug] logging adapter does not include extra attributes? #276

@CLAassistant
Copy link

CLAassistant commented Feb 15, 2023

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. Will merge when CI passes.

@cretz
Copy link
Member

cretz commented Feb 15, 2023

There is an issue w/ latest Python static linking. Unrelated to this PR, but I will have to fix it first then I'll get back to this.

@cretz cretz merged commit 852ff2f into temporalio:main Feb 17, 2023
@jmdacruz
Copy link
Contributor Author

Thanks for merging @cretz! When can we expect a release with these fixes?

@cretz
Copy link
Member

cretz commented Feb 17, 2023

After scheduling and a few other fixes. No exact timeline but hopefully soon. You can build any time or just download the built wheel artifacts off the latest main build at https://github.com/temporalio/sdk-python/actions/runs/4199650110.

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] logging adapter does not include extra attributes?

3 participants