Configuration Manager Proxy trace

You can enable and disable service trace for the Configuration Manager Proxy (CMP).

Enabling Configuration Manager Proxy trace

To enable tracing for the Configuration Manager Proxy for your application, use the following command in your code:
// Enable Config Manager Proxy service trace
   ConfigManagerProxy.enableTracing("outputfile.txt");

This logs all calls to the Configuration Manager Proxy to the outputfile.txt file in the current directory. All Configuration Manager Proxy activity in the entire Java Virtual Machine is logged.

You can also enable Configuration Manager Proxy service trace from the File menu of the Configuration Manager Proxy API Exerciser.

In addition, because the Configuration Manager Proxy uses the MQ Java client, you can enable MQ Java client tracing.

Disabling Configuration Manager Proxy trace

To disable tracing for the Configuration Manager Proxy for your application, use the following command in your code:
// Disable Config Manager Proxy service trace
   ConfigManagerProxy.disableTracing();

You can also disable Configuration Manager Proxy service trace from the File menu of the Configuration Manager Proxy API Exerciser.

Related reference
Service trace