TSLab program log files

Program operation logging

Logging is a chronological record with a different (customizable) level of detail about events occurring in the system (errors, warnings, messages), usually in a file. The vast majority of modern programs use text protocol files (one event - one line), they are easily generated by the program and analyzed by humans..

Examining the contents of the error log after problems have occurred can often help you understand its' causes.

Log file is a file with records of events in chronological order, the simplest means of providing logging. There are event logs and server logs - the source of records (although often everything is recorded in a single file).

Wikipedia

TSLab program log files

When TSLab is running, service information is recorded into a text file on your computer. This text file must be provided to TSLab support staff, in case of errors in the program for their localization and elimination.

You can go to the directory with Log files by selecting the Main menu item Tools - Log Folder.

If the program does not start, you can go to the logs folder: C:\Users\USER\AppData\Local\TSLab\TSLab 2.0\Logs where USER is the Windows username.Note! The folder with log files can be located in the TSLab\TSLab 2.0\Logs directory, despite the fact that you may have version 2.1 installed.

TSLab\TSLab 2.0\Logs folder contents:

Log file tslab.log - is the log file of the current day.

  • If the program was launched for the first time in a day, a new log file tslab.log is created.

  • If the program works around the clock, then every day at 00:00 a new tslab.log file is automatically created.

tslab.logYYYYMMDD - log files of previous days.

After 00:00 hours of the next day, or after starting the program the next day, a digital designation of the date of creation of this log file is automatically added to the extension of the tslab.log log file. Logging is done every day for 7 days. Files older than 7 days are automatically deleted.

launcher - launching and updating the program log files.

Usually, it may be needed by the support service in the event that the program does not start or there are problems with the update.

Example of contacting support service:

You have contacted the support service with a request to help you figure out what was happening with a position that was opened on Monday September 14, 2020, and today, September 17, 2020 (Thursday), the exit from the position was missed.

In this case, you need to send the following files to the support service:

  • tslab.log - log file of the current day (17.09.2020)

  • tslab.log20200914 - log file of the day when the position was opened

  • tslab.log20200915 - the day when the position was open

  • tslab.log20200916 - the day when the position was open

The support service needs all log files created during the existence of the position.

Please Note! Sometimes log files contain a large amount of textual information. In this case, we recommend that you compress the files before sending the files to the support service.

Program logging is not directly configurable. But, if the disk space is low, these files can be deleted manually. If the program is running, it will be impossible to delete the log file of the current day (tslab.log).

For the further space saving, in the agents trading settings, you can disable logging (setting Do not notify about recalculation), but keep in mind that if you have any questions, the support service will not be able to say anything about the Agent with the logging switched off.

Logging level of the program log files.

The logging level cannot be adjusted from the TSLab program.

In case of emergency, you can manually make changes in the TSLabApp.exe.config configuration file located in the root directory of the program. In the TSLabApp.exe.config file, correct the line: <level value="ALL" /> to the <level value="INFO" />

Last updated