cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3746
Views
5
Helpful
10
Replies

Viewing traces in CLI - Unity connection 10

Process153
Level 1
Level 1

Hi all,

Can find plenty of info on how to enable this but very little on how to actually view them in CLI.  Tried the command structure under file view etc but no luck.  Could someone please post the string I would need to view the logs?

Thanks in advance

1 Accepted Solution

Accepted Solutions

Manish Gogna
Cisco Employee
Cisco Employee

The command to view the most recent trace files in CLI is the file tail activelog command as specified here

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cli_ref/9_0_1/CUCM_BK_C3A58B83_00_cucm-cli-reference-guide-90/CUCM_BK_C3A58B83_00_cucm-cli-reference-guide-90_chapter_011.html#CUCM_CL_F0BA62A1_00

HTH

Manish

View solution in original post

10 Replies 10

Manish Gogna
Cisco Employee
Cisco Employee

The command to view the most recent trace files in CLI is the file tail activelog command as specified here

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cli_ref/9_0_1/CUCM_BK_C3A58B83_00_cucm-cli-reference-guide-90/CUCM_BK_C3A58B83_00_cucm-cli-reference-guide-90_chapter_011.html#CUCM_CL_F0BA62A1_00

HTH

Manish

Thanks you for your reply!  One more question if I may.  Are the log files all stored in the same location by default?  On my system, they are not appearing in the dir the appliance is looking in which is:

/var/log/active

Cmd I've used is file search activelog "diag_SMTP_*.uc

I appreciate the help so far but this is a really frustrating system to work with.  The output from running the file list activelog /cuc/ date  command shows only the last 15 or so file names from a reported 417.  AFAICS there is no way to get out into the hosts OS to check the files in Unix.  None of the trace output files I set up appear to be available.  Hugely frustrating :(

Hi,

If you are looking at a way to be able to check the logs from Unity Connection for any specific time you also have the option of setting up a scheduled trace collection. It allows you to send the traces to a remote destination after any specific time interval so that the traces do not get overwritten any you can check them at your will. It is explained here

https://supportforums.cisco.com/document/31766/scheduled-trace-collection-rtmt-cucm-appliance-model

If the requirement is to check it from CLI only then there are no additional options from the ones already shared.

HTH

Manish

Thanks Manish, I will give that a go :)

All the CUC specific traces are located in CUC folder, so to view them you can run:

file list activelog /cuc/ date details

Then commands to view are the same as in the document that Manish mentioned.

Leszek

Many thanks Leszek!  I'll crack on and see if I can find the traces I've set up.

Hi Manish,

I've used the file tail activelog command but the system is not finding anything.  Does the default active log have a common name??

Thanks!

Hi,

You can first run the following command

admin:file list activelog /cuc/?

This will show you all the log files

Then , choose a file name that you want to see , eg SpeechServerLog.txt, then execute the following command

admin:file tail activelog /cuc/SpeechServerLog.txt

It will show the contents of the log  file.

Manish

Thanks Manish I really appreciate your input.  If the traces I'm running are not showing in that directory, does that mean the traces are not in fact running at all?