This document describes how to set tracing in the Cisco Unified Contact Center Enterprise (UCCE) for clients, peripheral gateway (PG) services, the Cisco Customer Voice Portal (CVP), the Cisco UCCE Outbound Dialer, Cisco Unified Communications Manager (CallManager) (CUCM), and Cisco gateways.
Cisco recommends that you have knowledge of these topics:
Log in to the Finesse server with the Secure Shell (SSH) and enter these commands in order to collect the logs you need. You are prompted to identify a SSH FTP (SFTP) server where the logs will be uploaded.
Logs | Command |
---|---|
Install logs | file get install desktop-install.log |
Desktop logs | file get activelog desktop recurs compress |
Servm logs | file get activelog platform/log/servm*.\* compress |
Platform Tomcat logs | file get activelog tomcat/logs recurs compress |
Voice Operating System (VOS) install logs | file get install install.log |
This procedure describes how to create and collect debug files:
[Debug Log]
Path=..\log\agent.dbg
Size=3000000
Threshold=DEBUG
This procedure describes how to create and collect debug files:
[Debug Log]
Path=..\log\supervisor.dbg
Size=3000000
THRESHOLD=DEBUG
On the client PC where the CTIOS client is installed, use Regedt32 in order to turn up tracing. Change these settings:
Release | Registry Location | Default Value | Change |
---|---|---|---|
Releases earlier than 7.x | HKEY_LOCAL_MACHINE\Software\Cisco Systems\Ctios\Logging\TraceMask | 0x07 | Increase value to 0xfff. |
Release 7.x and later | HKEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems, Inc.\CTIOS Tracing | 0x40000307 | Set value to 0xfff for troubleshooting. |
Default output is created and placed in a text file named CtiosClientLog in the c:\Program Files\Cisco Systems\CTIOS Client\CTIOS Desktop Phones\ install directory.
These are the settings to debug the CAD Sync Service:
Setting | Value |
---|---|
Configuration file Default location |
DirAccessSynSvr.cfg C:\Program Files\Cisco\Desktop\config |
General issues | Threshold=DEBUG |
Output files | DirAccessSynSvr.log |
These are the settings to debug the CAD 6.0(X) RASCAL server:
Setting | Value |
---|---|
Configuration file Default location |
FCRasSvr.cfg C:\Program Files\Cisco\Desktop\config |
General issues | Range = 1-4, 50, 3000-8000 |
LDAP-related issues: | Range = 4000-4999 |
LRM-related issues: | Range = 1999-2000 |
Database-related issues | Range = 50-59 |
Output files Default location |
FCRasSvr.log, FCRasSvr.dbg C:\Program Files\Cisco\Desktop\log |
These are the settings to debug the chat server:
Setting | Value |
---|---|
Configuration file Default location |
FCCServer.cfg C:\Program Files\Cisco\Desktop\config |
General issues | Threshold=DEBUG |
Output files Default location |
FCCServer.log, FCCServer.dbg C:\Program Files\Cisco\Desktop\log |
See Use Dumplog Utility to Pull Logs for log collection.
Use the process monitoring (procmon) utility in order to turn trace levels on and off. These commands turn on CallManager peripheral interface manager (PIM) tracing:
C:\procmon <Customer_Name> <PG_Name> <ProcessName>
>>>trace tp* !-- Turns on third party request tracing
>>>trace precall !-- Turns on precall event tracing
>>>trace *event !-- Turns on agent and call event tracing
>>>trace csta* !-- Turns on CSTA call event tracing
>>>ltrace !-- Output of all trace bits
>>>q !-- Quits
This procmon command turns off CallManager PIM tracing:
>>>trace * /off
This procedure describes how to turn on CUCM tracing:
These procmon commands turn on JGW tracing:
C:\procmon <Customer_Name> <node> process
>>>trace JT_TPREQUESTS !-- Turns on third-party request traces
>>>trace JT_JTAPI_EVENT_USED !-- Turns on traces for the JTAPI Events the PG uses
>>>trace JT_ROUTE_MESSAGE !-- Turns on routing client traces
>>>trace JT_LOW* !-- Traces based on the underlying JTAPI and CTI layers
An example command is procmon ipcc pg1a jgw1.
This procedure describes how to enable CTISVR tracing on the active side:
These procmon commands turn on tracing for VRU PIM:
C:\procmon <Customer_Name> <PG_Name> <ProcessName>
procmon>>>trace *.* /off !-- Turns off
procmon>>>trace !-- Verifies what settings are on/off
procmon>>>trace cti* /onprocmon>>>trace opc* /on
procmon>>>trace *ecc* /onprocmon>>>trace *session* /off
procmon>>>trace *heartbeat* /off
procmon>>>ltrace /traceprocmon>>>quit
This procmon command turns off VRU PIM tracing:
>>>trace * /off
This procedure describes how to enable tracing on both CTIOS servers:
The default trace mask is 0x3 in all releases except Release 7.0(0), where it is 0x20003.
If the trace mask has a high value (0xf or higher), there is a large impact on CTIOS server performance and call completion rate. Set the trace mask at a high value only when you are debugging a problem; once you have collected the needed logs, you must set the trace mask back to its default value.
For troubleshooting purposes, set the CTIOS server trace mask to:
These opctest commands turn on OPC tracing on an active PG:
opctest /cust <cust_inst> /node <node>
opctest:debug /agent /routing /cstacer /tpmsg /closedcalls
This is an example from a lab environment:
C:\Documents and Settings\ICMAdministrator>opctest /cust cc1 /node pg1a
OPCTEST Release 8.0.3.0 , Build 27188
opctest: debug /agent /routing /cstacer /tpmsg /closedcalls !-- Use debug /on in
order to restore default tracing levels
opctest: quit
Additional examples are:
opctest:debug /agent /routing /cstacer /rcmsg /closedcalls /inrcmsg
!-- General example
opctest:debug /agent /routing /cstacer /rcmsg /closedcalls /inrcmsg /NCT
!-- Network transfer example
opctest:debug /agent /routing /cstacer /rcmsg /closedcalls /inrcmsg /task /passthru
!-- Multimedia example
opctest:debug /agent /routing /cstacer /rcmsg /closedcalls /inrcmsg /passthru
!-- VRU PG example
These procmon commands turn on eagtpim tracing on an active PG:
C:\>procmon <cust_inst> <node> pim<pim instance
>>>>trace tp* /on
>>>trace precall /on
>>>trace *event /on
>>>trace csta* /on
This is an example from a lab environment:
C:\Documents and Settings\ICMAdministrator>procmon cc1 pg1a pim1
>>>>trace tp* /on
>>>>trace precall /on
>>>>trace *event /on
>>>>trace csta* /on
>>>>quit
Refer to How to Use the Dumplog Utility for additional details. Use the cdlog command in order to get to the logfiles directory, as shown in this example:
c:\cdlog <customer_name> pg1a !-- Or, pgXa to depending on the PG number (X)
c:\icm\<customer_name>\<<PG#>>\logfiles\
These examples show how to place output in the default file; in all cases, you can use /of in order to define a specific name for the output file:
c:\icm\<customer_name>\<PG#>\logfiles\dumplog pim1 /bt <HH:MM> /et <HH:MM> /ms /o
!-- This PIM example places output in a default pim1.txt file
c:\icm\<customer_name>\<PG#>\logfiles\dumplog opc /bt <HH:MM> /et <HH:MM> /ms /o
!-- This OPC example places output in a default opc.txt file
c:\icm\<customer_name>\<PG#>\logfiles\dumplog jgw1 /bt <HH:MM> /et <HH:MM> /ms /o
c:\cdlog <customer_name> cg1a
c:\icm\<customer_name>\<cg#>\logfiles\
!-- This JTAPI example places output in a default jgw1.txt file
c:\icm\<customer_name>\cg#\logfiles\dumplog ctisvr /bt <HH:MM> /et <HH:MM> /ms /o
!-- This CTI server example places output in a default ctisvr.txt file
c:\ icm\<customer_name>\ctios\logfiles\dumplog ctios /bt <HH:MM> /et <HH:MM> /ms /o
!-- This CTIOS server example places output in a default ctios.txt file
This procedure describes how to enable tracing on CVP servers with Cisco SIP IP Phone software:
This procedure describes how to enable tracing on CVP servers with an H323 gateway:
setcalltrace on
setinterfacetrace on
Collect the CVP *.log file and Error.log files for the time of the test period. These files are in the C:\Cisco\CVP\logs directory on both CVP servers.
These are the locations of the log files for Unified CVP, where CVP_HOME is the directory in which the Unified CVP software is installed.
Type of Logs | Location |
---|---|
Call server and/or reporting server logs |
CVP_HOME\logs\ |
Operations console logs | CVP_HOME\logs\OAMP\ |
Voice XML (VXML) server logs | CVP_HOME\logs\VXML\ |
Simple Network Management Protocol (SNMP) agent logs | CVP_HOME\logs\SNMP\ |
Unified CVP resource manager logs | CVP_HOME\logs\ORM\ |
An example location is C:\Cisco\CVP.
For custom voice XML applications such as a deployed Audium application, you can turn on a debug logger.
Add this line to the <loggers> section (the last section) of the settings.xml configuration file in the C:\Cisco\CVP\VXMLServer\applications\APP_NAME\data\application\ directory:
<logger_instance name="MyDebugLogger"
class="com.audium.logger.application.debug.ApplicationDebugLogger"/>
At runtime, this logger outputs a detailed VoiceXML log to the \Cisco\CVP\VXMLServer\applications\APP_NAME\MyDebuggerLogger directory.
This procedure describes how to increase the badialer process logs on the Outbound Dialer (which is usually found on a PG).
Run the dumplog utility from the /icm/<instance>/dialer/logfiles directory:
dumplog badialer /bt hh:mm:ss /et hh:mm:ss /o
This procedure describes how to increase the baimport process log.
dumplog baimport /bt hh:mm:ss /et hh:mm:ss /o
This procedure describes how to increase the campaignmanager process log.
dumplog campaignmanager /bt hh:mm:ss /et hh:mm:ss /o
On the Avaya Communications Manager (ACD) PG, use the opctest utility in order to increase the following for both CallManager and Avaya.
C:\opctest /cust <instance> /node <pgname>
opctest: type debug /agent /closedcalls /cstacer /routing
opctest: q !-- Quits
This procedure describes how to increase the tracing for the ctisvr process.
This procedure describes how to enable router logs:
For opctest Release 8.5, use the Diagnostic Framework Portico instead.
debug level 3 component "icm:Router A" subcomponent icm:rtr
Use the dumplog utility in order to pull router logs from either router for the time period of the tests. Refer to How to Use the Dumplog Utility for additional details.
This is an example of a log request for logs on 10/21/2011 between 09:00:00 and 09:30:00 (in 24-hour time format). This output goes to the file C:/router_output.txt:
C:\Documents and Settings\ICMAdministrator>cdlog u7x ra
C:\icm\u7x\ra\logfiles>dumplog rtr /bd 10/21/2011 /bt 09:00:00 /ed 10/21/2011
/et 09:30:00 /ms /of C:/router_output.txt
Submit the output file (C:/router_output.txt) to Cisco for troubleshooting if needed.
These commands turn on tracing on CVP servers with SIP:
#conf t
service timestamps debug datetime msec
service timestamps log datetime msec
service sequence-numbers
no logging console
no logging monitor
logging buffered 5000000 7
end
clear logging
This is a very robust platform that can handle the suggested debugs at the provided call volume without issue. However, Cisco recommends that you:
logging <syslog server ip>
logging trap debugs
show proc cpu hist
Enable these debugs:
debug isdn q931
debug voip ccapi inout
debug ccsip mess
debug http client all
debug voip application vxml all
debug vtsp all
debug voip application all
After you make the call and simulate the issue, stop the debugging:
#undebug all
Collect this output:
term len 0
show ver
show run
show log
These commands turn on SIP tracing on the Cisco Unified SIP Proxy (CUSP):
(cusp)> config
(cusp-config)> sip logging
(cusp)> trace enable
(cusp)> trace level debug component sip-wire
Remember to turn logging off once you are done.
This procedure describes how to collect the logs:
username <userid> create
username <userid> password <password>
username <userid> group pfs-privusers
In UCCE Release 8 and later, you can use the Unified System Command-Line Interface (CLI) in order to collect traces. Compared to the dumplog utilities, the CLI is a very fast and efficient method to obtain an entire set of logs from one server such as a PG or Rogger.
This procedure describes how to start problem analysis and how to determine what tracing to enable. The example gathers logs from these servers:
show tech-support absdatetime mm-dd-yyyy:hh:mm mm-dd-yyyy:hh:mm redirect
dir c:\temp
Replace the first mm-dd-yyyy:hh:mm string with a date and time that is approximately 15 minutes before the event.
Replace the second mm-dd-yyyy:hh:mm string with a date and time that is approximately 15 minutes after the event is resolved. If the event is still occurring, gather at least 15 minutes.
Gather this additional information if possible:
There are two tools: a Diagnostic Framework tool and the system CLI tool. Both are icons either on the desktop or under the Programs directory on each server.
This procedure describes how to use the Unified System CLI for tracing.
show tech-support absdatetime mm-dd-yyyy:hh:mm mm-dd-yyyy:hh:mm redirect dir c:\temp