This topic tells you how to enable and disable service tracing for
the Configuration Manager Proxy (CMP).
Enabling Configuration
Manager Proxy tracing
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 file outputfile.txt in the current directory. This
command logs all Configuration
Manager Proxy activity in the
entire Java Virtual Machine.
You can also enable Configuration
Manager Proxy service
trace from the File menu of the Configuration
Manager Proxy API
Exerciser.
Disabling Configuration
Manager Proxy tracing
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.