Ivanti License Server powered by Wavelink

Updating logging levels

The License Server maintains a log file named LicenseServer.log in the current working directory. The events written to the log file allow you to evaluate errors, server functionality, and information about client connections.

The amount of detail that is recorded to the log file is user‐configurable. You can specify the logging level to determine the type of information recorded to the log file. License Server will automatically open a new log file when the current one meets the size specified in the configuration file. These new log files are named LicenseServer.log.1, LicenseServer.log.2, etc.

You can configure logging through the configuration file or on the Logging Levels page of the License Server web browser. The changes you make in the Logging Levels page are not written to the configuration file and will be reset if you restart the server. For permanent changes, ensure you update the configuration file.

Setting Logging Levels for the License Server

You can use the following values to configure the log settings for the License Server:

loglevel is the amount of information to include in the log file. Valid values are:

4 or SEVERE. Errors only.

3 or WARNING. Warnings and errors.

2 or INFO. Information, warnings and error messages. This is the default setting.

1 or VERBOSE. Everything except network licensing packets.

0 or EVERYTHING. Log everything. Performance may be impacted.

Example: loglevel = INFO

logsize is the maximum size of the log files generated, in bytes. After the file exceeds this size, a new log file will be generated and the current log file will become a backup log file. The default is 1000000 bytes.

Example: logsize = 1000000

logbackups is the number of backup log files that will be kept. The default is 3 backup files.

Example: logbackups = 3

To modify the logging level in the License Server configuration:

1.Launch the License Server web browser and click the Configuration link. The Configuration page appears.

2.In the text box, modify the logging settings.

3.Click Validate to ensure your changes are valid.

4.Click Save and Restart to save your changes and restart the License Server. The configuration file is updated.

5.View the log by clicking View Log from any page in the browser.

Setting Temporary Logging Levels

Changes made in the Logging Levels page are temporary and will be reset to the configured values (in the configuration file) after the server is restarted. The logging level can be changed permanently on the Configuration page.

The following logging levels can be selected:

SEVERE ‐ Errors only.

WARNING ‐ Warnings and errors.

INFO ‐ Information, warnings and error messages. This is the default setting.

VERBOSE ‐ Everything except network licensing packets.

EVERYTHING ‐ Logs everything. Performance may be impacted.

To modify the Logging Levels page:

1.Launch the License Server web browser and click the Logging Levels link.

2.From the options available on the page, enable the level.

3.Click Apply Changes. The logging level is set until the server is restarted. At that time, the logging level will revert to the settings in the configuration file.

4.View the log by clicking the View Log link in the upper right on any page in the browser.


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other