Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Log

Description

License server log

This log lists server actions that are helpful for debugging. You can configure this log for normal or extended detail, as well as set rotation intervals, name and path, in the license server configuration file.

Example of normal license server log:

No Format
[2010-10-07 10:53:46] LM-X License Server v3.6 build 7504 on Konradm-PC (Win32_x86)
[2010-10-07 10:53:46] Copyright (C) 2002-2010 X-Formation. All rights reserved.
[2010-10-07 10:53:46] Website: http://www.lm-x.com http://www.x-formation.com
[2010-10-07 10:53:46] License server has pid 4676.
[2010-10-07 10:53:46] Serving licenses for vendor XFORMATION.
[2010-10-07 10:53:46]
[2010-10-07 10:53:46] License server using TCP IPv4 port 6200.
[2010-10-07 10:53:46] License server using TCP IPv6 port 6200.
[2010-10-07 10:53:46] License server using UDP IPv4 port 6200.
[2010-10-07 10:53:47] Reading licenses...
[2010-10-07 10:53:47] License file(s):
[2010-10-07 10:53:47] C:\x-formation\lm-x\win32_x86_vc2008\../../../../out/
win32_x86/win32_x86/../examples/network/network.lic
[2010-10-07 10:53:48] Log file path: C:\x-formation\lm-x\win32_x86_vc2008\
licserver-accept-examples.log
[2010-10-07 10:53:48] Log to stdout: Yes
[2010-10-07 10:53:48] Log format: Normal
[2010-10-07 10:53:48] Configuration file path: C:\x-formation\lm-x\win32_x86_vc2008\
../../lmx-serv-examples.cfg
[2010-10-07 10:53:48] Serving following features:[2010-10-07 10:53:48] f1 (v1.5)
(5 license(s)) license type: exclusive
[2010-10-07 10:53:48] f2 (v1.0) (5 license(s)) shared on: HOST USER license type: additive
[2010-10-07 10:53:48] f2 (v1.0) (10 license(s)) license type: additive
[2010-10-07 10:53:48] borrow (v1.0) (1 license(s)) license type: exclusive
[2010-10-07 10:53:48] LicensedExampleClass (v1.0) (1 license(s)) license type: exclusive

Extended client log

This log lists client actions, entirely for diagnostic purposes. This log is disabled by default. You can enable it using the LMX_EXTENDEDLOG  environment variable as described in Environment variables.

This log will be generated or appended to every time a checkout request occurs.

Example:

No Format
[2010-10-14 11:49:35] LM-X Extended Client Log
[2010-10-14 11:49:36]
[2010-10-14 11:49:36] Machine settings:
[2010-10-14 11:49:36] Username: pkukielka
[2010-10-14 11:49:36] Hostname: SUPPORT2-PC
[2010-10-14 11:49:36] Vendor name: XFORMATION
[2010-10-14 11:49:36] Working directory: c:\x-formation
[2010-10-14 11:49:36] Platform: Win32_x86
[2010-10-14 11:49:36] Version: 6.1
[2010-10-14 11:49:36] Virtual machine: No
[2010-10-14 11:49:36] Terminal server session: No
[2010-10-14 11:49:36]
[2010-10-14 11:49:36] Environment variables:
[2010-10-14 11:49:36] LMX_AUTOMATIC_SERVER_DISCOVERY = <not set>
[2010-10-14 11:49:36] LMX_QUEUE = <not set>
[2010-10-14 11:49:36] LMX_PROJECT = <not set>
[2010-10-14 11:49:36] LMX_BORROW = 1
[2010-10-14 11:49:36] LMX_LICENSE_PATH = <not set>
[2010-10-14 11:49:36] LMX_CONNECTION_TIMEOUT = 30

lmxendutil -licstat output

This report contains license usage statistics, lists which users are currently using which licenses on a specific license server, and gives information on the borrow, grace and trial licenses currently checked out. See LM-X End-user utility for information on generating this report.

Example:

No Format
LM-X End-user Utility v3.5
Copyright (C) 2002-2010 X-Formation. All rights reserved.
Searching all license paths and performing automatic server discovery...
++++++++++++++++++++++++++++++++++++++++
LM-X License Server on 6400@192.168.22.103:
Server version: v3.6 Uptime: 0 hour(s) 0 min(s) 4 sec(s)
----------------------------------------
Feature: two_licserver Version: 1.0 Vendor: XFORMATION
Start date: NONE Expire date: NONE
Key type: EXCLUSIVE License sharing: VIRTUAL
10 of 10 license(s) used:
10 license(s) used by hg@vista-x64 [::1]
Login time: 2010-10-14 15:37 Checkout time: 2010-10-14 15:37
++++++++++++++++++++++++++++++++++++++++
LM-X License Server on 6200@192.168.22.103:
Server version: v3.6 Uptime: 0 hour(s) 0 min(s) 23 sec(s)
----------------------------------------
Feature: f3 Version: 1.5 Vendor: XFORMATION
Start date: NONE Expire date: NONE
Key type: EXCLUSIVE
0 of 5 license(s) used
----------------------------------------
Feature: f2 Version: 1.0 Vendor: XFORMATION
Start date: NONE Expire date: NONE
Key type: EXCLUSIVE License sharing: VIRTUAL
0 of 5 license(s) used
----------------------------------------
Feature: grace Version: 1.0 Vendor: XFORMATION
Start date: NONE Expire date: NONE
Key type: EXCLUSIVE License sharing: VIRTUAL
0 of 5 license(s) used

lmxendutil -licstatxml output

This report contains license usage statistics and lists currently used licenses on a specific license server as XML. See LM-X End-user utility for information on generating this report.

Example:

No Format
<?xml version="1.0" encoding="UTF-8"?>
<LM-X STAT_VERSION="3.6">
<LICENSE_PATH TYPE="NETWORK" HOST="6200@rafal-PC" SERVER_VERSION="3.6" UPTIME="0
\\hour(s) 0 min(s) 30 sec(s)" STATUS="SUCCESS">
<FEATURE NAME="f1" VERSION="1.5" VENDOR="XFORMATION" END="2018-01-01"
\\USED_LICENSES="0" TOTAL_LICENSES="5" SHARE="VIRTUAL"/>
<FEATURE NAME="f2" VERSION="1.0" VENDOR="XFORMATION" END="2018-01-01"
\\USED_LICENSES="0" TOTAL_LICENSES="5" SHARE="HOST ,USER ,VIRTUAL"/>
<FEATURE NAME="f2" VERSION="1.0" VENDOR="XFORMATION" END="2018-01-01"
\\USED_LICENSES="0" TOTAL_LICENSES="10" SHARE="VIRTUAL"/>
<FEATURE NAME="borrow" VERSION="1.0" VENDOR="XFORMATION" USED_LICENSES="0"
\\TOTAL_LICENSES="1" SHARE="VIRTUAL"/>
<FEATURE NAME="LicensedExampleClass" VERSION="1.0" VENDOR="XFORMATION"
\\USED_LICENSES="0" TOTAL_LICENSES="1" SHARE="VIRTUAL"/>
<FEATURE NAME="prod_a" VERSION="1.0" VENDOR="XFORMATION" USED_LICENSES="0"
\\TOTAL_LICENSES="5" SHARE="VIRTUAL"/>
<FEATURE NAME="prod_b" VERSION="1.0" VENDOR="XFORMATION" USED_LICENSES="0"
\\TOTAL_LICENSES="5" SHARE="VIRTUAL"/>

Pay-per-use database file

This database file lists pay-per-use information that can be sent to your vendor for billing purposes. See Pay Per Use feature for more information.

Example:

No Format
Timestamp: 2009-01-30 07:37:06 Action: CHECKOUT Comment: FEATURE: TEST_MULTIUSER
UNIQUEID: C48E3CC9D201846D8FC3F2C0B22289323D64E026750ECBFE COUNT: 3
Timestamp: 2009-01-30 07:37:06 Action: USAGE Comment: FEATURE: TEST_MULTIUSER
UNIQUEID: C48E3CC9D201846D8FC3F2C0B22289323D64E026750ECBFE COUNT: 402
Timestamp: 2009-01-30 07:37:06 Action: CHECKOUT Comment: FEATURE: TEST_MULTIUSER
UNIQUEID: C48E3CC9D201846D8FC3F2C0B22289323D64E026750ECBFE COUNT: 3
Timestamp: 2009-01-30 07:37:06 Action: USAGE Comment: FEATURE: TEST_MULTIUSER
UNIQUEID: C48E3CC9D201846D8FC3F2C0B22289323D64E026750ECBFE COUNT: 405
Timestamp: 2009-01-30 07:37:06 Action: CHECKIN Comment: FEATURE: TEST_MULTIUSER
UNIQUEID: C48E3CC9D201846D8FC3F2C0B22289323D64E026750ECBFE COUNT: 32
Timestamp: 2009-01-30 07:37:06 Action: USAGE Comment: FEATURE: TEST_MULTIUSER
UNIQUEID: C48E3CC9D201846D8FC3F2C0B22289323D64E026750ECBFE COUNT: 373