Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
Appendix B      CTI OS Logging
How to Set Trace Levels
B-2
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
How to Set Trace Levels
Trace levels for client processes, such as the Agent Desktop phone, can be found 
in the registry under:
HKEY_LOCAL_MACHINE\Software\Cisco Systems\Ctios\Logging\TraceMask
Warning
T
he default value for the trace masks is 0x03. Changing this value
 
can have a serious impact on client performance. It should only be 
modified
 
by experienced field personnel or at the request of Cisco 
support personnel.
Java CIL Logging and Tracing
In the Java CIL, the LogWrapper class implements the ILogListener interface and 
acts as a default logging mechanism. If a LogWrapper is created using the constructor 
that takes a string for a filename, the Java CIL performs logging and tracing to the 
specified file. If a LogWrapper is created using the constructor that takes no 
arguments, it traces to the System.out file.
Note
You must create a class that implements ILogListener, register it with the 
LogManager , and write the trace events to a logfile, or you must use the provided 
LogWrapper utility class to create logfiles.You will also need to provide a way to 
adjust the trace mask at runtime. If you encounter problems, Cisco personnel will 
need to see this log file in order to assist you with your problem.
See the Java CIL Javadoc file for information on the LogWrapper class and its 
associated methods.