Create a persistent install log file to help root cause package upgrade issues by OneBlue · Pull Request #13500 · microsoft/WSL

Summary of the Pull Request

This change adds logic to write various package installation loglines to C:\Windows\temp\wsl-install-log.txt, which should help us root cause #11013

PR Checklist

  • Closes: Link to issue #xxx
  • Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
  • Tests: Added/updated if needed and all pass
  • Localization: All end user facing strings can be localized
  • Dev docs: Added/updated if needed
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed