Skip to content

Conversation

@JoshuaMoelans
Copy link
Member

@JoshuaMoelans JoshuaMoelans commented Jan 21, 2026

fixes #1485

This was an implementation bug, where we took global attributes but discarded them when any local attributes were present. Now, we merge these into one object, keeping the global attribute keys intact (unless the local attributes have the same key, in which case they will overwrite the value).

- keys get merged, and local values overwrite existing global values for the same key
@JoshuaMoelans JoshuaMoelans marked this pull request as ready for review January 21, 2026 10:05
Copy link
Collaborator

@tustanivsky tustanivsky left a comment

Choose a reason for hiding this comment

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

Tested this fix locally in Unreal and now the attributes are merged as expected, thanks!

@JoshuaMoelans JoshuaMoelans merged commit 8680e94 into master Jan 21, 2026
73 of 74 checks passed
@JoshuaMoelans JoshuaMoelans deleted the joshua/fix/logs_attribute_overwriting branch January 21, 2026 13:52
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.

Global log attributes are not merged with per-log attributes when capturing structured logs

3 participants