Skip to content

Add TraceLogging tagging and generic fields to failure events. #5283

Merged
agniuks merged 1 commit intomainfrom
user/agnel/installer_event_improvements
Mar 28, 2025
Merged

Add TraceLogging tagging and generic fields to failure events. #5283
agniuks merged 1 commit intomainfrom
user/agnel/installer_event_improvements

Conversation

@agniuks
Copy link
Copy Markdown
Contributor

@agniuks agniuks commented Mar 27, 2025

This updates the WIL failure events in the installer to include the same Tracelogging tags and fields used elsewhere in the installer flow.

What's changed:

  • Added TelemetryPrivacyDataTag and TraceLoggingKeyword to FailureLog, Exception, FailFast, and FailureReturn events so they show up properly in logs.

  • Included _GENERIC_PARTB_FIELDS_ENABLED for version/channel/debug info to match other logged events like Install/Start.

  • Replaced direct TraceLoggingCountedWideString(...) calls with the existing WindowsAppRuntimeInstaller_TraceLoggingWString(...) macro for consistency and readability.

These events should now appear as expected in Kusto, with consistent structure and tagging across the installer.

@agniuks
Copy link
Copy Markdown
Contributor Author

agniuks commented Mar 27, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@agniuks
Copy link
Copy Markdown
Contributor Author

agniuks commented Mar 27, 2025

Once signed off, I'd like to backport this to 1.7 and maybe even 1.6.

@agniuks agniuks merged commit 4f31b55 into main Mar 28, 2025
27 checks passed
@agniuks agniuks deleted the user/agnel/installer_event_improvements branch March 28, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants