The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This document describes how to set and collect traces in Cisco Unified Contact Center Enterprise (CCE).
Cisco recommends that you have knowledge of these topics:
The information in this document is based on these software versions:
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
There are several options to collect Finesse client logs.
Save
as HAR with content.Note: The recommended method to collect the Cisco Finesse server logs is via Secure Shell (SSH) and Secure File Transfer Protocol (SFTP). This method does not only allow you to collect the webservices logs but all additional logs like, Fippa, openfire, Realm, and Clientlogs.
file get activelog desktop recurs compress reltime hours 2
Note: This page provides good information about the CVP CallServer and it is very useful to troubleshoot certain scenarios.
7. After you reproduce the problem, ensure to restore the traces to the default level. Select com.dynamicsoft.DsLibs.DsUALibs from the Serv. Mgr dropdown menu at the top left-hand corner and set it to error.
In very rare circumstances you need to increase the level of traces of the VXML server applications. On the other hand, it is not recommended to increase it unless a Cisco Engineer requests it.
To collect the VXML server application logs, navigate to the specific application directory under the VXML server, for example: C:\Cisco\CVP\VXMLServer\applications\{name of application}\logs\ActivityLog\ and collect the activity logs.
In most of the cases the default level of traces of OAMP and ORM are enough to determine the root cause of the problem. However, if the level of traces is required to be increased, here are the steps to execute this action:
omgr.traceMask=-1 omgr.logLevel=DEBUG org.hibernate.logLevel=DEBUG org.apache.logLevel=ERROR net.sf.ehcache.logLevel=ERROR
Trace Level Information
Trace Level |
Description |
Log Level |
Trace Mask |
0 |
Product install default. No or minimal performance impact expected. |
INFO |
None |
1 |
Less detailed trace messages with a small performance impact. |
DEBUG |
DEVICE_CONFIGURATION + |
2 |
Detailed trace messages with a medium performance impact. |
DEBUG |
DEVICE_CONFIGURATION + |
3 |
Detailed trace message with a high performance impact. |
DEBUG |
DEVICE_CONFIGURATION + |
4 |
Detailed trace message with a very high performance impact. |
DEBUG |
MISC + |
5 |
Highest detailed trace message. |
DEBUG |
MISC + |
In CVVB, a trace file is a log file that records activity from the Cisco VVB component subsystems and steps.
Cisco VVB has two main components:
You can specify the components for which you want to collect information and the level of information that you want to collect.
Log Levels extend from:
Warning: Xdebugging5 must not be enabled on production loaded system.
The most common logs that you need to collect are the Engine. The default level of traces for the CVVB Engine traces is enough to troubleshoot most issues. However, if you need to change the level of traces for a specific scenario, Cisco recommends that you use the pre-defined System Log Profiles.
System Log Profiles
Name |
Scenario in which this Profile must be Activated |
DefaultVVB |
Generic logs are enabled. |
AppAdminVVB |
For issues with web administration through AppAdmin, Cisco VVB Serviceability, and other web pages. |
MediaVVB |
For issues with media setup or media transmission. |
VoiceBrowserVVB |
For issues with calls handle. |
MRCPVVB |
For issues with ASR/TTS with Cisco VVB interaction. |
CallControlVVB |
For issues with SIP signal related are published in the log. |
file get activelog /uccx/log/MIVR/*
#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
Warning: Any change on a production Cisco IOS® software GW can cause an outage.
logging <syslog server ip>
logging trap debugs
show proc cpu hist
Warning: If the CPU gets up to 70-80% CPU utilization, the risk of a performance-related service impact is greatly increased. Thus, do not enable additional debugs if the GW hits 60%.
debug voip ccapi inout
debug ccsip mess
After you make the call and simulate the issue, stop the debugging:
#undebug all
term len 0
show ver
show run
show log
(cusp)> config
(cusp-config)> sip logging
(cusp)> trace enable
(cusp)> trace level debug component sip-wire
username <userid> create
username <userid> password <password>
username <userid> group pfs-privusers
Cisco recommends to set trace levels and collect traces via Diagnostis Framework Portico or System CLI tools.
Note: For more information about Diagnostic Framework Portico and System CLI, visit the chapter Diagnostic tools in the Serviceability Guide for Cisco Unified ICM/Contact Center Enterprise, Release 12.5(1).
When you troubleshoot most of the UCCE scenarios, if the default level of traces does not provide enough information, set the level of traces to 3 in the required components (with some exceptions).
Note: Visit the Trace Level section on the Serviceability Guide for Cisco Unified ICM/Contact Center Enterprise, Release 12.5(1) for more information.
For instance, if you troubleshoot Outbound Dialer issues, the level of traces must be set to level 2 if the Dialer is busy.
For CTISVR (CTISVR), level 2 and level 3 do not set the exact registry level recommended by Cisco. The recommended trace registry for CTISVR is 0XF8.
Warning: Set the level of traces to level 3 while you attempt to reproduce the problem. After the problem is reproduced, set the trace level to default. Use special caution when you set the JTAPIGW traces, since level 2 and level 3 set the Low level traces and this can cause a performance impact. Set level 2 or level 3 in the JTAPIGW during non-production time or in a lab environment.
PCCE has its own tool to setup trace levels. It is not applicable to UCCE environment where Diagnostic Framework Portico or system CLI are the preferred ways to enable and collect logs.
file get activelog /cuic/logs/cuic/*.* recurs compress reltime hours 1
file get activelog /cuic/logs/cuicsrvr/*.* recurs compress reltime hours 1
file get activelog tomcat/logs/*.* recurs compress
file get activelog livedata/logs/*.*
file get activelog ids/log/*.* recurs compress reltime days 1
For CUIC:
For LD:
For IDS:
For Platform services, it is generally a good idea to select Tomcat and Event viewer logs:
To start the capture, establish a SSH session to the VOS server authenticate with the Platform Administrator account.
1a. Command Syntax
The command is utils network capture
and the syntax is as follows:
Syntax:
utils network capture [options]
options optional
page,numeric,file fname,count num,size bytes,src addr,dest addr,port
num,host protocol addr
options are:
page
- pause output
numeric - show hosts as dotted IP
addresses
file fname - output the information to a file
Note: The file is saved in platform/cli/fname.cap
fname should not contain the "." character
count num - a
count of the number of packets to capture
Note: The maximum count
for the screen is 1000, for a file is 100000
size bytes -
the number of bytes of the packet to capture
Note: The maximum
number of bytes for the screen is 128
For a file it can be
any number or ALL
src addr - the source address of the
packet as a host name or IPV4 address
dest addr - the
destination address of the packet as a host name or IPV4 address
port
num - the port number of the packet (either src or dest)
host
protocol addr - the protocol should be one of the following:
ip/arp/rarp/all. The host address of the packet as a host name or IPV4
address. This option will display all packets to and from that address.
Note: If "host" is provided, do not provide "src" or "dest"
1b. Capture All Traffics
For a typical capture, one can collect ALL packets of ALL sizes from and to ALL address into a capture file called packets.cap. To do this simply execute on the admin CLI utils network capture eth0 file packets count 100000 size all
1c. Capture based on Port number
In order to troubleshoot a communications issue with the Cluster Manager, it can be desireable to use the port option to capture based on a specific port (8500).
For more information about which services require communications on each port, refer to theTCP and UDP Port Usage Guidefor the applicable version of the respective component.
1d. Capture based on host
To Troubleshoot an issue with VOS and a particular host, it can be necessary to use the 'host' option to filter for traffic to and from a particular host.
It can also be necessary to exclude a particular host, in this case use a "!" in front of the IP. An example of this would be utils network capture eth0 file packets count 100000 size all host ip !10.1.1.1
While the capture has started to reproduce the problem symptom or condition so that the necessary packets are included in the capture. If the problem is intermittent, it can be necessary to run the capture for an extended period. If the capture ends, it is because the buffer is filled. Restart the capture and the previous capture is automatically renamed so the previous capture is not lost. If a capture is needed for an extended period of time, use a monitor session on a switch to capture at the network level.
To stop the capture, hold the Control key and press C on the keyboard. This causes the capture process to end and no new packets are added to the capture dump.
4a. Transfer capture file through the CLI to an SFTP server
Use the command file get activelog platform/cli/packets.cap
to collect the packets.cap file to the SFTP server.
Alternatively, collect all .cap files stored on the server, use file get activelog platform/cli/*.cap.
Finally, fill in the SFTP server IP/FQDN, port, username, password, and directory information:
The CLI indicates success or failure of the file transfer to the SFTP server.
4b. Use RTMT to transfer a capture file to a local PC.
Launch the RTMT. If it is not installed on the local PC, install the appropriate version from the VOS Administration page and then navigate to the Applications > Plugins menu. Click System, then Trace & Log Central, then double click Collect Files. Click Next through the first menu.
In the second menu, choose the checkbox for Packet Capture Logs on the server which the capture was performed, then click Next.
On the final screen, choose a time range when the capture was performed, and a download directory on the local PC.
RTMT closes this window and proceeds to collect the file and store it on the local PC in the specified location.
Revision | Publish Date | Comments |
---|---|---|
2.0 |
25-Apr-2024 |
Updated Introduction, Alt Text, SEO, Machine Translation, and Formatting. |
1.0 |
31-Aug-2022 |
Initial Release |