Enable logging
This section shows you how to enable logging. These steps must be done prior to starting the server.
Procedure
Set the environment variable
FORGE_LICENCE_LOGFILE
to the file that you wish to append log information to.Set
FORGE_LICENCE_LOGLEVEL
to specify the amount of information required.The following list specifies the available log levels:
Level 0: no logging.
Level 1: client licenses issued are shown, served licenses are listed.
Level 2: stale licenses are shown when removed, licenses still being served are listed if there is no spare license.
Level 3: full request strings received are displayed.
Level 6: is the maximum.
Caution
In level 1 and above, the MAC address, user name, process ID, and IP address of the clients are logged. If you need to limit access to the log files, ensure that the directory of the file has appropriate access controls.