06-10-2016 12:42 AM - edited 03-17-2019 07:11 AM
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
Solved! Go to Solution.
06-10-2016 01:02 AM
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
06-10-2016 01:02 AM
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
06-10-2016 01:20 AM
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
06-10-2016 04:38 AM
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 :(
06-10-2016 08:41 AM
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
06-12-2016 11:55 PM
Thanks Manish, I will give that a go :)
06-10-2016 01:22 AM
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
06-10-2016 01:26 AM
Many thanks Leszek! I'll crack on and see if I can find the traces I've set up.
06-10-2016 01:54 AM
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!
06-10-2016 02:00 AM
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
06-10-2016 02:03 AM
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?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide