CameoSdkParametersUseInternalLoggingSettings Property |  |
Turn on/off internal SDK logging settings (readonly).
Namespace: Bosch.Vms.CameoSdkAssembly: Bosch.Vms.CameoSdk (in Bosch.Vms.CameoSdk.dll) Version: 1.6.0.0
Syntaxpublic bool UseInternalLoggingSettings { get; }Property Value
Boolean
Remarks
If flag will be
- turned on:
SDK will initialize logging context according to its internal configuration (SDK uses
log4net.dll as logging engine).
SDK configured in such a way that for every SDK instance (even in scope of one machine) separate log file is created.
SDK log file properties:
- location directory: "%CommonApplicationData%\Bosch\VMS\Log\"
- file name pattern: "CameoSdkLog_%property{CameoSdk_HostId}.txt",
where %property{CameoSdk_HostId} is
HostId value
- turned off:
SDK logging context would not be initialized.
SDK log messages would be written according to hosting application logging context, if it is properly configured.
Commonly logging context is static, this circumstance leads to the following: only one logging context can be current.
If one context is configured and later another is initialized - it will override previous context settings (the last wins).
This fact should be kept in mind when the SDK, with internal logging settings, is used.
Depending on the place where the SDK is used, it can override hosting application logging context or its own setting can be overriden.
See Also