DeployLX includes a great deal of information in the error report included when validation fails. However, there are times when having a history of the license validations on a machine can aide in diagnosing problems, such as changes in the machine profile. DeployLX Licensing provides a generic logging infrastructure that can be used to log all license validation attempts. 

On This Page

The LicenseValidationRequestInfo class allows developers to supply runtime configuration information to DeployLX. As of version 4.1 a new property Logger allows you to provide a delegate to be called after license validation is completed with a complete diagnostic report of the validation process.

DeployLX will invoke the provided LicenseValidationLoggerDelegate after all validation has completed whether validation succeeded or failed. This information can then be logged to a central logging facility such as a SQL server database, log4net logger, text file or other logging solution.

DeployLX includes a default logger that will log all validation attempts to a shared folder in the CommonAppData\XHEO INC\DeployLX\Logs folder for standard applications and ~/App_Data/DeployLX for ASP.NET applications.

Dim info = New LicenseValidationRequestInfo With { _
  .Logger = DefaultLicenseLogger.Instance.Log }

_license = SecureLicenseManager.Validate(Me, Nothing, info)
var info = new LicenseValidationRequestInfo
{
  Logger = DefaultLicenseLogger.Instance.Log
};

_license = SecureLicenseManager.Validate( this, null, info );
Published : May 23, 2011
Updated : Jan 04, 2012
Views : 2653
  • licensing
  • deploylx
  • troubleshooting

Downloads

Folder

Loading comments...