Licence Protector

SetLogging

Hide Navigation Pane

SetLogging

Previous topic Next topic No directory for this topic  

SetLogging

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

 

Name

SetLogging                                                                                          

Purpose

Sets the logging parameters for this workstation.

Params

Parameter

Type

Example

Note

bOn

Boolean

true

If bOn is set then the Logging on this client is activated. bOn = false will deactivate the logging.

sLogpath

String

C:\log\

Path in which all new Log-files will be stored. Only used when bOn is true

Returncode

Returncode

None

 

Usage

To turn logging on or off

This call changes local registry values that control the Licence Protector logging.

Note: It is not possible to reactivate the logging after you have turned it off using SetLogging. It is not possible to switch pathes during runtime. In this cases the application has to be restarted to have this changes take effect.

It is possible to use this command before a license file has been opened.

Sample

 

  lic.SetLogging(true, ‘c:\temp\log\’);

  << Logging now activated >>

  …

  << Now deactivate the logging>>

  lic.SetLogging(false, ‘’;

  ...

See also

Error tracking