You have to set the trace levels to debugging(default level is error) in your CUCM serviceability page and you can also choose the component you would like to have trace on in your Trace settings configuration page.
Once this is done, you login to your RTMT and navigate to Trace and Log Central and click on Collect Files
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: