From 4fea5b39b2ac7892858fc684fdafa6e7e76ad509 Mon Sep 17 00:00:00 2001 From: mariam-abdulla Date: Tue, 6 Jan 2026 14:39:47 +0100 Subject: [PATCH 1/4] Update MTP option names --- .../microsoft-testing-platform-extensions-diagnostics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/testing/microsoft-testing-platform-extensions-diagnostics.md b/docs/core/testing/microsoft-testing-platform-extensions-diagnostics.md index cfd64bdbb9d4c..ba538e317086c 100644 --- a/docs/core/testing/microsoft-testing-platform-extensions-diagnostics.md +++ b/docs/core/testing/microsoft-testing-platform-extensions-diagnostics.md @@ -16,9 +16,9 @@ The following [platform options](./microsoft-testing-platform-intro.md#options) - `--info` - `--diagnostic` -- `⁠-⁠-⁠diagnostic-⁠filelogger-⁠synchronouswrite` +- `--diagnostic-synchronous-write` - `--diagnostic-verbosity` -- `--diagnostic-output-fileprefix` +- `--diagnostic-file-prefix` - `--diagnostic-output-directory` You can also enable the diagnostics logs using the environment variables: From ad4f336805c397c44c4078195d75ae62bc2d9685 Mon Sep 17 00:00:00 2001 From: mariam-abdulla Date: Tue, 6 Jan 2026 14:56:16 +0100 Subject: [PATCH 2/4] Update other file --- docs/core/testing/microsoft-testing-platform-intro.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/testing/microsoft-testing-platform-intro.md b/docs/core/testing/microsoft-testing-platform-intro.md index 21f5e558f600a..f73072c373a92 100644 --- a/docs/core/testing/microsoft-testing-platform-intro.md +++ b/docs/core/testing/microsoft-testing-platform-intro.md @@ -227,7 +227,7 @@ The list below described only the platform options. To see the specific options Enables the diagnostic logging. The default log level is `Trace`. The file is written in the output directory with the following name format, `log_[MMddHHssfff].diag`. -- **`--diagnostic-filelogger-synchronouswrite`** +- **`--diagnostic-synchronous-write`** Forces the built-in file logger to synchronously write logs. Useful for scenarios where you don't want to lose any log entries (if the process crashes). This does slow down the test execution. @@ -235,7 +235,7 @@ The list below described only the platform options. To see the specific options The output directory of the diagnostic logging, if not specified the file is generated in the default _TestResults_ directory. -- **`--diagnostic-output-fileprefix`** +- **`--diagnostic-file-prefix`** The prefix for the log file name. Defaults to `"log_"`. From 7f1012f0dd0522c6943082545bb0a16a7aa14f26 Mon Sep 17 00:00:00 2001 From: mariam-abdulla Date: Tue, 6 Jan 2026 15:07:00 +0100 Subject: [PATCH 3/4] Update other files --- .../microsoft-testing-platform-architecture-services.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/testing/microsoft-testing-platform-architecture-services.md b/docs/core/testing/microsoft-testing-platform-architecture-services.md index 9de66c0481eb5..8e5cf1c8f815a 100644 --- a/docs/core/testing/microsoft-testing-platform-architecture-services.md +++ b/docs/core/testing/microsoft-testing-platform-architecture-services.md @@ -179,9 +179,9 @@ The options you can choose from include: ```dotnetcli --diagnostic Enable the diagnostic logging. The default log level is 'Trace'. The file will be written in the output directory with the name log_[MMddHHssfff].diag ---diagnostic-filelogger-synchronouswrite Force the built-in file logger to write the log synchronously. Useful for scenario where you don't want to lose any log (i.e. in case of crash). Note that this is slowing down the test execution. +--diagnostic-synchronous-write Force the built-in file logger to write the log synchronously. Useful for scenario where you don't want to lose any log (i.e. in case of crash). Note that this is slowing down the test execution. --diagnostic-output-directory Output directory of the diagnostic logging, if not specified the file will be generated inside the default 'TestResults' directory. ---diagnostic-output-fileprefix Prefix for the log file name that will replace '[log]_.' +--diagnostic-file-prefix Prefix for the log file name that will replace '[log]_.' --diagnostic-verbosity Define the level of the verbosity for the --diagnostic. The available values are 'Trace', 'Debug', 'Information', 'Warning', 'Error', and 'Critical' ``` From 5342ae60e09d23fa79f1e5de07dc0fc8482bfbc8 Mon Sep 17 00:00:00 2001 From: Mariam Abdullah <122357303+mariam-abdulla@users.noreply.github.com> Date: Wed, 7 Jan 2026 09:45:38 +0100 Subject: [PATCH 4/4] Update docs/core/testing/microsoft-testing-platform-intro.md Co-authored-by: Youssef Victor --- docs/core/testing/microsoft-testing-platform-intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/testing/microsoft-testing-platform-intro.md b/docs/core/testing/microsoft-testing-platform-intro.md index f73072c373a92..45a7743663237 100644 --- a/docs/core/testing/microsoft-testing-platform-intro.md +++ b/docs/core/testing/microsoft-testing-platform-intro.md @@ -237,7 +237,7 @@ The list below described only the platform options. To see the specific options - **`--diagnostic-file-prefix`** - The prefix for the log file name. Defaults to `"log_"`. + The prefix for the log file name. Defaults to `"log"`. - **`--diagnostic-verbosity`**