Administration

Stamp Log and System Log files

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:

  1. Dial 9*9   (Note: You may need to press # to complete the dial string).
  2. A message will be played back indicating the log stamp confirmation number.

To invoke Stamp Log when on an active call:

  1. You have to first program the “Logger Time Stamp” key for the extension.
  2. The user can press the Timestamp key anytime to invoke the stamp log.
  3. 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:

  1. Open the UCX Administration
  2. From the Support tab, select System Log Files
  3. Select the log file you want to view from the drop down list box
  4. Optionally, change the default number of log lines (100) to a different value (maximum 9999)
  5. To display latest log entries on the page, press the Refresh button

AsteriskLog.png

Here is an example of stamp logs:

Log File

[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.
USEFUL TIP

You can query today's full log via SSH (putty) with the following command: grep "Log stamp #" /var/log

Contents