Set TraceLevel

Purpose

Sets the detail level of the internal trace.
Attention: Do not use this command unless instructed to do so by IBM® Support.

URI

Use the Eclipse Amlen REST API POST method with the following Eclipse Amlen configuration URI:

http://<admin-endpoint-IP:Port>/ima/v1/configuration

Object configuration data

Provide object configuration data in the payload of the POST method by using the following schema. Content-type is set to application/json.

{                       
 "TraceLevel": "string"  
}

Usage Notes®

  • The command must be capitalized as shown.
  • This command is used by IBM Support.

Example

Set the trace level of Eclipse Amlen to 4:

curl -X POST \
   -H  'Content-Type: application/json'  \
   -d  '{
          "Version": "v1",
           "TraceLevel": "4"
         }
  '   \
http://127.0.0.1:9089/ima/v1/configuration/
An example response to the POST method:

{        
  "Version": "v1",
  "Code": "CWLNA6011",
  "Message": "The requested configuration change has completed successfully."
}