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

Add VSTEST_DIAG_VERBOSITY to help #4882

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/diagnose.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ Trace level can be changed using below command line:

Allowed values for tracelevel are: off, error, warning, info and verbose. The default value is verbose.

### Collect traces using VSTEST_DIAG

Since v17.2.0, environment variable `VSTEST_DIAG` can be used to specify the path to the log file.

### Dotnet test

The `--diag` option is supported on the `dotnet test` command as well. This will also produce same
The `--diag` and `VSTEST_DIAG` option is supported on the `dotnet test` command as well. This will also produce same
set of log files: `log.txt` and `log.*.txt`.

```shell
Expand Down