Skip to content

Conversation

iliar-turdushev
Copy link
Contributor

@iliar-turdushev iliar-turdushev commented Mar 14, 2025

Updates the source-generated logging and the ExtendedLogger to emit the {OriginalFormat} property as the last item of the log record.

Fixes #5720

Microsoft Reviewers: Open in CodeFlow

Now {OriginalFormat} is emitted as the last item in the TagArray
Adjusts ExtendedLogger to always return {OriginalFormat} as the last tag in the list
Fixes ResourceMonitoring tests
Address PR comments
@iliar-turdushev iliar-turdushev marked this pull request as ready for review March 17, 2025 14:37
@iliar-turdushev iliar-turdushev requested review from a team as code owners March 17, 2025 14:37
@iliar-turdushev iliar-turdushev changed the title [Work in progress] Emit {OriginalFormat} as the last property of the log record [Telemetry, Logging] Emit {OriginalFormat} as the last property of the log record Mar 17, 2025
@iliar-turdushev iliar-turdushev merged commit 037c866 into dotnet:main Mar 18, 2025
6 checks passed
@iliar-turdushev iliar-turdushev deleted the logger-originalformat branch March 18, 2025 08:54
@iliar-turdushev iliar-turdushev restored the logger-originalformat branch March 18, 2025 09:01
@iliar-turdushev iliar-turdushev deleted the logger-originalformat branch March 18, 2025 14:46
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ExtendedLogger] {OriginalFormat} is incorrectly exported by OpenTelemetry
3 participants