Set up logging for test execution via Remote Service

This topic describes a legacy feature that Tricentis plans to discontinue in the near future. For detailed information on the deprecation plan and time line, see this Tricentis Knowledge Base article.

To find out about alternatives, check out this topic.

You can configure one or both of the following logging options:

  • A workspace log level, i.e. a protocol of activities concerning the workspace that executes your tests.

  • A log for all activities of the Remote Service, such as when it starts or finishes the execution of your tests.

Change the workspace log level

You can change the level of detail in your workspace log.

The available range is 4 to 12. A value of 4 provides you with the least detailed log, a value of 12 with the most detailed log. By default, the value is set to 4.

To change the default log level, follow these steps:

  1. Open the appsettings.json file. After a default installation, this file is located at %COMMANDER_HOME%\ToscaCI.

  2. In the Settings section, enter a LogLevel value from the available range.

Tosca saves the log file to the workspace folder.

Set up the Remote Service log

You can change what information the log records. By default, the Remote Service log records on the Information level.

To change the log level, follow these steps:

  1. Open the appsettings.json file. After a default installation, this file is located at %COMMANDER_HOME%\ToscaCI.

  2. In the Logging section, define your desired log level. Tosca supports all logging options that Microsoft supports for ASP.NET Core. For more information, check out the Microsoft ASP.NET Core documentation (opens in new tab).

Tosca saves the log file ToscaCIRemoteExecutionService.log to the directory %COMMANDER_HOME%\ToscaCI.