Cisco Cisco Computer Telephony Integration Option 9.0 Guide Du Développeur

Page de 490
   
B-2
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Appendix B      CTI OS Logging
Setting Trace Levels (COM and C++)
Setting Trace Levels (COM and C++)
You must set the tracel level in the registry by creating a TraceMask registry value within the 
HKEY_LOCAL_MACHINE\Software\Cisco Systems, Inc.\CTIOS Tracing key and setting its value to 
0x40000307.
[HKEY_CURRENT_USER\Software\Cisco Systems, Inc.\CTIOS Tracing]
"TraceMask"=dword:40000307
Trace levels for client processes, such as the Agent Desktop phone, are stored under the following 
registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems, Inc.\CTIOS Tracing]
                     "TraceFileName"="%HOMEPATH%\\CtiOsClientLog"
                     "TraceMask"=dword:00000000
                     "MaxDaysBeforeExpire"=dword:00000007
                     "MaxFiles"=dword:00000005
                     "MaxFileSizeKb"=dword:00000800
                     "FlushIntervalSeconds"=dword:0000001e
                     "TraceServer"="C:\\Program Files\\Cisco Systems\\CTIOS Client\\CTIOS 
 Toolkit\\Win32 
CIL\\Trace\\CTIOSTraceText.exe"
For CTIOS server versions 7.5(10), 8.0(3) and later; the default trace level will not print the call variable 
in CTIOS server logs. This is an enhancement to reduce the log size in the specified software versions.l 
To get the call variable in CTIOS logs, you need to set the the trace level to 0x400000.
Note
You can configure CTI OS Tracing globally for the entire machine (using the TraceMask setting on 
HKLM) and per user (using the TraceMask setting on HKCU).
Warning
If the TraceMask is not set or if it is set incorrectly, the application's performance can be negatively 
affected. The preferred setting for normal operation is 0x40000307.
Configuring Tracing (COM and C++)
You can set C++ and COM client trace configuration parameters in the Windows registry at the following 
key. See 
, for instructions on configuring tracing for the Java CIL. 
See 
, for instructions on configuring tracing for the .NET CIL.
HKEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems\CTI Desktop\Ctios\Logging
These settings are defined as follows:
Table B-1
Configuring Tracing Settings