Logging

VTS maintains log files that record various operations that were performed by VTS. These log files may be useful when debugging parameter-related aspects in a Vuser script. VTS lets you configure the level of logging that occurs. You modify the logging level by editing the logger > level option in the configure.json file. For details on setting the logging level, see Configure VTS.

The following logging levels are available:

error Creates the least comprehensive logs, including only errors
warning Creates a log file with intermediate verbosity
info Creates the most comprehensive logs, including errors, warnings, and additional information

By default, VTS saves the log files in the c:\windows\temp\VTS folder. You can change the default folder by modifying the logger > path option in the configure.json file. For details, see Configure VTS.

To access log files from a browser window:

  1. Open the configure.json file. The default location for this file is VTS root folder>\web.
  2. Enable logging by configuring the enableDiag parameter:

    "enableDiag": true,
  3. Restart the VTS Service in the Services window.
  4. Navigate to http://<severname>:<port>/data/diag and select logs.

    Example: If the VTS is on your local host on port 4000, navigate to http://localhost:4000/data/diag

Back to top