Interactions between licensed clients and the Silk Meter server are logged to the smServerLog.log file in the cfg/silkmeter/logs directory.
When this logfile reaches a configurable size (4MB by default), it is archived with the name smServerLog_<datetime>_<timestamp>.log in the same directory; a new, empty logfile is then created. The timestamp used for the new logfile reflects the time at which the file is saved, e.g.: smServerLog_2016_03_30_12_51_27_1032349743.log
The maximum size (kb) of the logfile can be changed using the registry setting MaxLogFileSize (of type REG_SZ) under the HKLM\System\CurrentControlSet\Services\SgMeManager\Parameters registry key.
Currently, the following actions are logged: Init, Start, Check, Stop, Fail, New Period, Checkout Mobile, Checkin Mobile, Add Product, Add Product Error and Remove.
Init date action producer timestamp [09/18/2002, 13:49:03] Init segue 1032349743 |
Start date action licenseID policyID user group host part amount token project producer timestamp [09/19/2002, 15:51:20] Start LicId: 1 PolId: 500 User: roland Group: sgme_windows Host: enya Part: 0 Amount: 1 Tokens: 0 Project: segue segue 1032443480 |
Check date action licenseID policyID units part amount token producer timestamp [09/19/2002, 15:51:25] Check LicId: 4 PolId: 510 Units: 1 Part: 0 Amount: 0 Tokens: 0 segue 1032443485 |
Stop date action producer licenseID policyID part amount producer timestamp [09/19/2002, 15:51:25] Stop LicId: 4 PolId: 510 Part: 0 Amount: 1 segue 1032443485 |
Error date action errornum product version user group host part amount units time project producer timestamp [09/19/2002, 15:51:28] Error 101 SilkPerformerDB 5.0 User: roland Group: sgme_windows Host: enya Part: 0 Amount: 1 Units: 0 Project: segue segue 1032443488 |
Checkout Mobile date action policyID user client licenses days timestamp [09/20/2017, 13:10:44] Checkout Mobile PolId: 678 User: Administrator Client: enya Licenses: 2 Days: 2 1505905844 |
Checkin Mobile date action policyID client licenses startDate endDate timestamp [09/20/2017, 13:11:23] Checkin Mobile PolId: 678 Client: enya Licenses: 2 Start: 20170920 End: 20170922 1505905883 |
Add Product date action product version policyID [04/14/2003, 13:13:55] Add Product: SilkPerformerMMC Version: 6.0 PolId: 600 |
Add Product Error date action errornum product version policyID [04/14/2003, 13:13:55] Add Product Error: SilkPerformerMMC Version: 6.0 PolId: 600 |
Remove date action policyID [04/14/2003, 13:13:10] Remove PolId: 600 |
New Period date action policyID timestamp length producer timestamp [04/14/2003, 15:29:29] NewPeriod PolId: 501 Time: 1050326969 Length:1440 segue 1050326969 |
The variables contained in log file entries are defined as follows:
Variable Name |
Meaning |
date |
Date and time log line is written in, mm/dd/yyyy time format. |
action |
Performed action type that was logged. |
errornum |
Error number of the failed request, as defined in smLicense.h and in Error Codes. |
group |
If a group grant was used for the request, then the name of that group, otherwise the name none. |
host |
Host name as set on the client side. |
licenseID |
A unique identifier that identifies a license. Start, Check and Stop messages that refer to the same license have the same identifier. A long integer. |
amount |
Number of licenses requested. A long integer. |
part |
Part number requested by client side. A short integer <= 50. |
policyId |
Policy ID defined in the policy header. A string of letters, digits, "." and "_" characters. |
producer |
Producer name defined in the policy header. A string of letters, digits and "_" characters. |
product |
Product name requested by client side. A string of letters, digits and "_" characters. |
timestamp |
The time in seconds since January 1, 1970. |
units |
Units consumed by the call. A long integer. |
user |
User name as set by the client. |
project |
Name of project as assigned by Policy Administrator. Default is segue. |
length |
Length in seconds of last dongle period. |
version |
Product version requested by the client. A string of letters, digits, "." and "_" characters. |
client |
Host name of the client as set on the client side |
licenses |
Number of licenses for the mobile policy |
days |
Number of days the mobile policy should be checked out from the license server |
startDate |
Initial start date of usage for the mobile policy |
endDate |
End date of usage for the mobile policy |