Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Absent Member.. MisterT1968 Absent Member..
Absent Member..

QTP/(U)FT Support Tip: Why is the License usage not longer logged?

Hello all,

How are you? I hope you are fine

Most of you know, that with the lsusage.exe the access to the licenses stored on the License Server can be logged. However, it can happen, that this logging stops at some point although no changes are made to the system and variables. What might be the cause and how to re-enable the logging?

The License Manager writes records to the log file until it reaches its maximum size. The default value for maximum size is 1 MegaByte, but this can be changed using the -z option in the LSERVOPTS environment variable or at the command-line. The size can be specified in Bytes, KiloBytes, or MegaBytes. For instance, -z 2000 means 2000 Bytes, -z 2k means 2 KiloBytes, -z 2m means 2 MegaBytes.

Once the maximum size is reached, the contents of the current log file will be saved into a backup file unless the no-backup -x option has been used in the LSERVOPTS environment variable or at the command line, or the maximum amount of log files has been used (99 files with the extension *.txt.00 to *.txt.99).

In order to fix such an issue, please check whether either of these points are valid:

- -x option is added to the Environmental Variable LSERVOPTS - solution: remove it

- 99 backup files are already used - solution: copy them to a different location, increase the size of the log files (see above)

I hope these information helped.

Best regards,

Tino Pacholski

Functional Testing Support Engineer

[If this post solves or helps solve your issue, mark the thread as solved and give KUDOS to the author for their assistance.]
Labels (2)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.