Set up logging for test execution with Tosca Distributed Execution

If you use Tosca Continuous Integration with Tosca Distributed Execution, you can configure one or all of the following logging options:

Set up the Tosca CI Client log

Tricentis Tosca saves the log file ToscaCIClient.log to the directory %COMMANDER_HOME%\ToscaCI\Client.

You can change what information the Tosca CI Client log records. By default, the Tosca CI Client log records on INFO level.

To change this, follow the steps below:

  1. Access the the ToscaCIClient.exe.config file which is located at %COMMANDER_HOME%\ToscaCI\Client.

  2. In the log4net section, adjust the root setting level value. You can define one of the following values:

Value

Description

ALL

Includes all information. Use this level for development purposes.

DEBUG

Creates a log for Tricentis Support.

INFO

This is the default log level. It includes general information, such as when the agent was started or stopped.

ERROR

Logs any error which is fatal to the operation and requires action, such as timeouts or failure to establish a server connection.

OFF

Logging is deactivated.

<log4net>
    <root>
        <level value="INFO" />
        <appender-ref ref="LogFileAppender" />
        <appender-ref ref="ConsoleAppender" />
    </root>
[...]
</log4net>