- Open the License Server home page.
- Choose General> License Server Configuration and configure the settings.
The following settings are available:
License Server Port | This port, 2002 by default, is only used by 9.x versions of Parasoft tools that connect to license server via TCP. You must restart services if you change the port. See Starting DTP Applications. You can disable access to the port if are not using 9.x versions of Parasoft tools in your organization. See Disabling the License Server Port. |
---|---|
Clients should start deactivated | Enabling this option forces connected Parasoft tools to start deactivated. See the Parasoft tool documentation settings for additional information. |
Concurrent connections limit | This option sets maximum number of tool requests (connections to License Server) that can be processed concurrently. By default, it is set to 100. |
Log cleaning | Specify how many days logs are stored before automatically being removed from database. |
Use log files from the location | Specifies where access logs are stored. The default path is recommended. If you reconfigured the log file access location, specify that path to point License Server appropriately. This allows License Server to remove old logs. |
Enabling Logging for V2 Licensing
A beta version of Parasoft's updated licensing services was introduced in 2021.1. Logging for the v2 licensing is disabled by default, but you can enable licensing by modifying the ls.conf file located in the<DTP_DATA>/LicenseServer/conf directory.
Stop DTP server and open the ls.conf file.
Add the following elements to the
<Root>
element to enable logging:<LicenseCoreLog> <validator_log_enabled>true</validator_log_enabled> <generator_log_enabled>true</generator_log_enabled> </LicenseCoreLog>
- Restart the server.
Setting the value of the <validator_log_enabled>
element to <true>
enables the license_validator.log file to be generated. Setting the value of the <generator_log_enabled>
element to <true>
enables the license_generator.log file to be generated. The log files will appear in the<DTP_DATA>/logs directory.