IBM Integration API trace

Enable or disable service trace for the IBM® Integration API.

Enabling IBM Integration API trace

About this task

To enable tracing for the IBM Integration API for your application, set the environment variable MQSI_IAPI_TRACE, where <filename> is the name of the file to which the trace is sent:
export MQSI_IAPI_TRACE=<filename>
Or you can enable tracing by using the following API call in your code:
// Enable Administration service trace
     IntegrationAPI.enableAdministrationAPITracing("outputfile.txt");

This request logs all calls to the IBM Integration API to the outputfile.txt file in the current directory. All IBM Integration API activity in the entire Java™ virtual machine is logged.

You can also enable IBM Integration API tracing in the IBM App Connect Enterprise Toolkit by clicking Window > Preferences > Integration Development > Connection Settings. In the Integration API section, select the checkbox for Enable Integration API trace.

Disabling IBM Integration API trace

About this task

To disable tracing for the IBM Integration API for your application, use the following API call in your code:
// Disable Administration service trace
   IntegrationAPI.disableIntegrationAPITracing()

You can also disable IBM Integration API tracing in the IBM App Connect Enterprise Toolkit by clicking Window > Preferences > Integration Development > Connection Settings. In the Integration API section, deselect the checkbox for Enable Integration API trace.