In this short blog, I'd like to show you how easy it is to enable tracing in OIC Integration and start tracing your integration flows. When Tracing is enabled, OIC Integration prints detailed info before and after each action that is executed (optionally the payload if needed). Hence care should be taken to make sure that it is enabled only for debugging purposes and turned off before going production.
Global Tracing
Let's assume that you have a requirement where you would like to enable or disable tracing for every integration you have created. You can use the global tracing for accomplishing the same. Enable the Global tracing with below steps:
Integration Level Tracing
If your requirement is to enable the tracing for one or more integrations and disable tracing for the rest of the integrations, you can use Integration Level tracing. Enable the Integration tracing with below steps:
Checking the info added by Tracing
After the tracing is enabled (Global or Integration), the info logged by the tracing can be used to debug your integration. Check the tracing info using the below steps: