Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various improvements to collect-wsl-logs.ps1 #9731

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Conversation

OneBlue
Copy link
Collaborator

@OneBlue OneBlue commented Mar 3, 2023

This change adds various improvements to the log collection scripts:

  • Stop the log collection on exception (or if the user cancels via CTRL-C) so it doesn't stay running in background
  • Attempt to reset the log collection if wpr -start fails
  • Capture wpr.exe's output in the logs
  • Warn the user if the log collection fails

@OneBlue OneBlue requested review from benhillis and a user March 3, 2023 19:29
@OneBlue OneBlue merged commit 5db5089 into master Mar 6, 2023
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.

1 participant