Resetting service trace on an integration server by using the administration REST API

You can use the IBM® App Connect Enterprise administration REST API to reset server trace properties for an integration server dynamically, without having to restart the integration server.

Before you begin

Read the following topics:

About this task

If you reset service trace by using the administration REST API or web user interface, the setting does not persist when the integration server is restarted.

Procedure

You can use the following REST API method to reset the service trace on an integration server and remove any previously-captured trace logs.

  • For an independent integration server:
    POST http://hostname:port/apiv2/reset-service-trace
    For example, run the following curl command:
    curl -X POST http://hostname:port/apiv2/reset-service-trace
  • For an integration server that is managed by an integration node:
    POST http://hostname:port/apiv2/servers/integrationServerName/reset-service-trace
    For example, use the following curl command to reset service trace for integration server ACESERV1:
    curl -X POST http://hostname:port/apiv2/servers/ACESERV1/reset-service-trace