Gathering Logs and Traces |
Top Previous Next |
PAWS Trace Logs
PAWS logs are useful when debugging service issues. They provide details on exactly what services were invoked, when they were invoked, and what they actually did including any run time errors.
The system writes the PAWS trace logs to the Tomcat logs directory accessible via the CLI command "file get activelog tomcat/logs/platform-api/log4j/*". You can view them via the command line interface or with RTMT. File names are platform-api####.log, where # represents a number from 0000 (zero) to the maximum number of files allowed. The maximum file size is 1 MB by default. The maximum number of stored files defaults to 10. You can change these settings through the Serviceability windows.
Enabling PAWS Logs from the Serviceability Window
1.From the Unified CM Administration window, choose Application > Cisco Unified Serviceability. 2.Choose Trace > Configuration. 3.From the Servers column, select the server and click GO. 4.From the Service Group box, select Database And Admin Services and click GO. 5.From the Services box, select the Platform Administrative Web Service and click GO. 6.Check the Trace On check box. 7.If you want the trace to apply to all Unified CM servers in the cluster, select the Apply to All Nodes check box. 8.In Debug Trace Level box, select Debug.
Gathering PAWS logs through RTMT Tool To use this tool, you must download it from Cisco Unified Communications Manager. 1.Log into CUCM Administration. 2.Click Application > Plugins. 3.Search and find the Cisco Unified Real-Time Monitoring Tool. 4.Click Download next to Cisco Unified Real-Time Monitoring-Linux if your OS is Linux or Download next to Cisco Unified Real-Time Monitoring-Windows if your OS is Windows. 5.Install the RTMT tool. 6.Start the RTMT tool. 7.In the Host IP Address box, enter the IP address of the CUCM server you want to monitor. 8.In the User Name box, enter the user name for the CUCM server you want to monitor. 9.In the Password box, enter the password for the CUCM server you want to monitor 10. To collect logs and traces, under System click Trace & Log Central. and double-click Collect Files. 11. Under Trace & Log Central, double-click Collect Files. 12. Select the Cisco CallManager check boxes in both columns. 13. Click Next. 14. Select the Cisco Unified OS Platform API check boxes in both columns. 15. On the Collect File Options screen, select an Absolute Range approximately 30 minutes before and after your test run. 16. For convenience, zip the resulting files. |