Installation Guides > UNICOM Intelligence licensing > UNICOM License Server reference > Generating diagnostic information for UNICOM License Server
 
Generating diagnostic information for UNICOM License Server
Main log file
UNICOM License Server records start and stop events, and error information in a file called ult_licesrv.log that is in the UNICOM License Server working directory.
To change the diagnostic level of the information, set the Level parameter in the [Logging] section of the ult_licesrv.ini file. If you change this parameter, you do not need to restart UNICOM License Server. UNICOM License Server reads this parameter periodically, and then applies the specified logging level.
To change the name of the log file, see Configuring UNICOM License Server.
Diagnostic log files
UNICOM License Server records diagnostic events to a diagnostic log file that is different from the main log file. The diagnostic log file is in the same directory as the main log file, but the file name has the prefix diag_, for example: diag_ult_licesrv.log.
To prevent the diagnostic log file becoming too big, it is separated into hourly sections. The content of the previous hour is compressed, and then saved to a separate file with a date and time stamp added to the file name, for example:
diag_ult_licesrv_20161204_170000.log.gz
UNICOM License Server deletes diagnostic log files that are older than 72 hours.
Logging diagnostic events
To record diagnostic events such as changes to the license usage, set the parameters in the ult_licesrv.ini file like this:
[Logging]
Logfile=ult_licesrv.log
Level=2
COMLevel=1
COMLevel=1 decreases the logged events from the TCP/IP subsystem.
To record all diagnostic information, set the parameters like this:
[Logging]
Logfile=ult_licesrv.log
Level=3
See also
Monitoring UNICOM License Server
Generating reports for UNICOM License Server
UNICOM License Server reference