Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
B-3
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Appendix B CTI OS Logging
Logging and Tracing (Java)
These settings are defined as follows:
Logging and Tracing (Java)
The Java CIL tracing mechanism behaves differently from that of the COM and
C++ CILs. The Java CIL does not automatically create a log file and trace to it.
You must develop the custom application to create and maintain the log file.
C++ CILs. The Java CIL does not automatically create a log file and trace to it.
You must develop the custom application to create and maintain the log file.
The Java CIL provides classes that allow you to write tracing messages from CTI
applications. You can create a class that implements ILogListener, register it with
the LogManager , and write the trace events to a log file.
applications. You can create a class that implements ILogListener, register it with
the LogManager , and write the trace events to a log file.
The Java CIL also includes the LogWrapper class, which implements the
ILogListener interface and provides a default logging mechanism.
ILogListener interface and provides a default logging mechanism.
Parameter
Description
Recommended Value
FlushIntervalSeconds
Maximum number of
seconds before the trace
mechanism transfers data
to the log file.
seconds before the trace
mechanism transfers data
to the log file.
30
MaxDaysBeforeExpire
Maximum number of days
before a log file is rolled
over into a new log file
regardless of the size of the
file.
before a log file is rolled
over into a new log file
regardless of the size of the
file.
7
MaxFiles
Maximum number of log
files that may exist in the
log file directory before
the logging mechanism
starts overwriting old files.
files that may exist in the
log file directory before
the logging mechanism
starts overwriting old files.
5
MaxFileSizeKb
Maximum size of a log file
in kilobytes. When a log
file reaches the maximum
size, a new log file is
created.
in kilobytes. When a log
file reaches the maximum
size, a new log file is
created.
2048
TraceMask
Bit mask that determines
the categories of events
that are traced.
the categories of events
that are traced.
0x40000307