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_CMP_TRACE, where <filename> is the name of the file to which the trace is sent:
export MQSI_CMP_TRACE=<filename>
Or you can enable tracing by using the following API call in your code:
// Enable Administration service trace
   BrokerProxy.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 service trace from the File menu of the IBM Integration API Exerciser.

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
   BrokerProxy.disableAdministrationAPITracing();

You can also disable IBM Integration API service trace from the File menu of the IBM Integration API Exerciser.