Please enable JavaScript to view this site.

CodeMeter 8.40a User Help

Navigation: Manual > CodeMeter License Tracking

Requirements and Configuration

Scroll Prev Top Next More

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.

information_weiss_klein26

When the licensing data is rotated, the respective 'old' file is compressed as a ZIP archive by default. It is possible to deactivate this via the profiling.

CmBoxPgm and CodeMeter WebAdmin support the handling of compressed data.

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]

information_grau_klein26

Default value is is 0 and Logging for License Tracking is disabled.

LogLicenseTrackingPath/[Firm Code]/

[SZ]

<path>

information_grau_klein26

Default path on Windows operating systems is %ProgramData%\CodeMeter\LicenseTracking.

For each Firm Code a separate directory is created.

For example, the log file for Firm Code 10 is saved to the directory <LogLicenseTrackingPath>/FC10/.

For other operating systems the default path has the same value of the general profiling entry LogPath.

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).
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.

LogLicenseTrackingLogRotationCompression

[DWord]

[0;1]

information_grau_klein26

The default setting has a value of 1 and the compression of the respective 'old' file into the ZIP archives is enabled.

information_weiss_klein26

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.

information_weiss_klein26

CodeMeter License Server is registered as a Windows service and can be started with user privileges. For stopping the service, however, you need administrator privileges under Windows (System Settings | Management | Services).

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.