Absent Member.. Absent Member..
Absent Member..
131 views

How to get UFT User Logs

Hi All,

How can we get the UFT 12 user logs from the server.

Many Thanks in Advance,

Ashwin

0 Likes
1 Reply
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Hi Ashwin,

Hope you are doing well.

The Autopass logs at server level (at the server machine), are always enabled, at level "INFO" type of logging. The default location is:

C:\ProgramData\HP\HP AutoPass License Server\AutoPass\LicenseServer\data\log

IMPORTANT:

  • Steps below requires restarting the AutoPass service, causing temporal down time. Plan this task according to impact less end-users
  • Please consider this will generate large amount of information, so be sure to rollback changes once desired testing is finished

To setup logs at DEBUG level of logging:

  1. Open the configuration file:
C:\ProgramData\HP\HP AutoPass License Server\AutoPass\LicenseServer\data\conf\log4j.properties
 

2. Modify logging feature, change respective line according to need:

- To activate DEBUG logs, update first line from, from word "INFO" to "DEBUG":
default =
log4j.logger.com.hp.autopassj=INFO,APJ
debug =
log4j.logger.com.hp.autopassj=DEBUG,APJ

- To setup logs max size per file (default: 10MB), update following line:
log4j.appender.APJ.MaxFileSize=10MB

- To setup logs max amount of log files (default: 10), update following line:
log4j.appender.APJ.MaxBackupIndex=10

3. Save the file

4. (HP Recommends) Backup, move or delete files under log folder

5. Restart (stop then start again) the service.

6. Once log generation is over:

         1. Collect/Compress to ZIP file, the folder below:
    C:\ProgramData\HP\HP AutoPass License Server\AutoPass\LicenseServer\data\log

             2. To disable or undo log modifications, repeat steps 1 to 3, set default values (indicated above), then restart AutoPass Service.

Other useful information:

  • To setup logs max size per file (default: 10MB): log4j.appender.APJ.MaxFileSize=10MB
     
  • To setup logs max amount of log files (default: 10): log4j.appender.APJ.MaxBackupIndex=10
Ruddy Alvarez H.
Customer Support Engineer

If you find thst aat this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the pond show your appreciation.
0 Likes
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.