Requirements and Configuration
Using the CodeMeter feature License Tracking requires at least CodeMeter License Server Version 4.50.
Using the feature Secure License Tracking requires at least CodeMeter License Server Version 5.20.
Configuration
The logging of licensing data must be activated together with CodeMeter License Server. This you do by direct activation in the CodeMeter Profiling environment.
Profiling
For Windows operating systems you find the profiling entries stored in the registry, for other operating systems entries are set in the file server.ini. The following table shows you the respective locations.
Operating system |
Registry / Server.ini Entry |
---|---|
Windows |
HKLM/SOFTWARE/WIBU-SYSTEMS/CodeMeter/Server/CurrentVersion |
macOS |
/Library/Preferences/com.wibu.CodeMeter.Server.ini |
Linux |
/etc/wibu/CodeMeter/Server.ini |
The following relevant profiling entries for License Tracking exist.
Entry |
Property |
Value |
||
---|---|---|---|---|
LogLicenseTracking |
[DWord] |
[0;1]
|
||
LogLicenseTrackingPath/[Firm Code]/ |
[SZ] |
<path>
|
||
LogLicenseTrackingLogRotationSizeInMb |
[DWord] |
[1..3500] If a license tracking log file exceeds a size of x MB, the rotation starts. The input range of x is from 1 to 3500 MB. The default value is 1000 MB. If the specified value is outside the input range, automatically the default value applies. |
||
LogLicenseTrackingLogRotationTimeInMinutes |
[DWord] |
[0..525600] If the oldest entry of a license tracking log file is older than n minutes, the rotation starts. The input range of n is from 0 to 525600 minutes (approx. 1 year). The default value is 0 minutes. Then time-based log rotating is deactivated. If the specified value is outside the input range, automatically the default value applies. |
Please note that you must stop the CodeMeter License Server service, make the change, and then restart the CodeMeter License Server service before the change can take effect.
|
Logfile Rotation
In order to manage the constant growth of log files efficiently, CodeMeter offers a rotating system in the area of license tracking.
This system can be set via two parameters in profiling.
•LogLicenseTrackingLogRotationSizeInMb
If a license tracking log file exceeds a size of x MB, the rotation starts.
The input range of x is from 1 to 3500 MB.
•The default value is 1000 MB.
If the specified value is outside the input range, automatically the default value applies.
•LogLicenseTrackingLogRotationTimeInMinutes
If the oldest entry of a license tracking log file is older than n minutes, the rotation should start.
The input range of n is from 0 to 525600 minutes (approx. 1 year).
Please note that after specifying n, the log file starts to rotate after a time delay of about 1 minute.
The default value is 0 minutes. Then time-based log rotating is deactivated.
If the specified value is outside the input range, automatically the default value applies.