The purpose of this wiki page is to provide the steps required to create a python trace in the TREX Admin tool.
A python trace is a trace that can be used to analyse the calls that are sent from the application side to Trex. This specific trace can be used to record all of the Trex services. If you run into issues with Trex and your application such as search problems or indexing issues then you may be asked by SAP support to create a python trace to record the issue.
Procedure to create a Python Trace
- Open up the TREX Admin tool on the Trex Server
- Navigate the to the "Trace" tab
- Select the button "Python Trace"
- In the Pop-up select "Set trace"
- In the next pop-up specify the following
- The service that SAP support has request (e.g Indexserver)
- The user who executes the calls to be recorded. If this is left blank then calls from all users will be recorded
- The filename of the Python trace(e.g TEST)
- Select the specific trace function request by SAP support.(e.g Searching)
- The Trex host list allows you to activate the python trace on a specific host if required
- Click Ok to save the settings
- Click Ok to start the Python trace
- Execute the job you want to record the python trace for
- When the job is complete navigate again the "Trace" tab and select "python trace"
- Press the button "Stop Trace" and click "ok"
- Your trace will now appear in the "Trace" tab with the following extension ".py" (e.g TEST.py)
- Attach this trace file to the message and send it to SAP support for analysis.
Note 1533891 - TREX 7.00/7.10 : Recording a Python Trace