For many issues, you will find more information about errors and/or hints for a solution in the log files.
You can also ask users reporting a problem to timestamp their problem by using the Stamp Log feature.
Stamp Log
To invoke Stamp Log when idle:
- Dial 9*9 (Note: You may need to press # to complete the dial string).
- A message will be played back indicating the log stamp confirmation number.
To invoke Stamp Log when on an active call:
- You have to first program the “Logger Time Stamp” key for the extension.
- The user can press the Timestamp key anytime to invoke the stamp log.
- A message will be displayed on the phone indicating the log stamp confirmation number.
Viewing System Log Files
To view the system log files, perform the following steps:
- Open the UCX Administration
- From the Support tab, select System Log Files
- Select the log file you want to view from the drop down list box
- Optionally, change the default number of log lines (100) to a different value (maximum 9999)
- To display latest log entries on the page, press the Refresh button
Here is an example of stamp logs:
[2015-05-06 10:10:46] WARNING[3379] chan_ucx.c: Log stamp #1 from device 225
[2015-05-06 10:11:11] WARNING[3379] chan_ucx.c: Log stamp #2 from device 225
[2015-05-06 11:45:57] WARNING[3379] chan_ucx.c: Log stamp #3 from device 230
[2015-05-06 14:06:31] WARNING[3379] chan_ucx.c: Log stamp #4 from device 230
Retrieving Log Files
Prerequisites
Your PC must be equipped with a secure file transfer utility, for example WinScp. (http://winscp.net/eng/download.php)Steps
- Launch the secure file transfer utility and connect to UCX using the admin account.
- Navigate to the directory that contains the desired log file(s), for example: /var/log/asterisk
- Download the log file(s) to your PC.
You can query today's full log via SSH (putty) with the following command:
grep "Log stamp #" /var/log