Follow the steps below to enable tracing for a REST API artifact:
- Open WSO2 Integration Studio and open the REST API artifact from WSO2 Integration Studio.
- Click the REST API icon (in the design view) to open the Properties tab for the REST API.
To enable mediation tracing for the REST API, select Enable Tracing (shown above).
Note that it is not recommended to enable tracing in production environments as it generates a large number of events that reduces the performance. Therefore, tracing should only be enabled in development environments.
Follow the steps below to enable tracing for
an Endpoint artifact:
- Open the Endpoint artifact from WSO2 Integration Studio.
- Go to the Form view of the endpoint artifact and then set the Trace Enabled values value to 'True' . For example, see the endpoint artifact given below:
as shown below.
Similarly, you can enable tracing for all the required artifacts.