{"type":"api","title":"Command to Update Log Level","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/e05c97f6-c05c-3a2b-97ed-ca9f414d72b7","info":{"title":"Crosswork Data Gateway Troubleshooting API","description":"APIs to support CDG 3.0.0 troubleshooting","version":"7.1.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/CDG/cdg_troubleshooting_api_overview.md"}},"swagger":"2.0","basePath":"/crosswork/dg-manager/v1","schemes":["https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer Auth Token"}}},"spec":{"summary":"Command to Update Log Level","operationId":"SubmitLogConfigCommand","deprecated":false,"produces":["application/json"],"consumes":["application/json "],"parameters":[{"name":"Body","in":"body","required":true,"description":"Request payload to submit log config to update log","schema":{"title":"LogConfigCommandPayload","example":{"id":"4003","commandName":"LOG_TUNING","clientId":{"uuid":"1358e717-78de-47c0-81fc-efb5bddb5e5c"},"args":[{"key":"log","value":{"logTuningParam":{"container":"CLI_COLLECTOR","component":"DISPATCHER","logLevel":"INFO"}}},{"key":"log1","value":{"logTuningParam":{"container":"CLI_COLLECTOR","component":"COORDINATOR","logLevel":"DEBUG"}}}]},"type":"object","properties":{"id":{"type":"string"},"commandName":{"type":"string"},"clientId":{"title":"ClientId","example":{"uuid":"d58de587-5da2-4a62-b010-32395acc8dbc"},"type":"object","properties":{"uuid":{"type":"string"}},"required":["uuid"],"$$ref":"#/definitions/ClientId"},"args":{"type":"array","items":{"title":"LogConfigArg","example":{"key":"log","value":{"logTuningParam":{"container":"CLI_COLLECTOR","component":"DISPATCHER","logLevel":"UNSPECIFIED_LOG_LEVEL"}}},"type":"object","properties":{"key":{"type":"string"},"value":{"title":"LogConfigValue","example":{"logTuningParam":{"container":"CLI_COLLECTOR","component":"DISPATCHER","logLevel":"UNSPECIFIED_LOG_LEVEL"}},"type":"object","properties":{"logTuningParam":{"title":"LogTuningParam","example":{"container":"CLI_COLLECTOR","component":"DISPATCHER","logLevel":"UNSPECIFIED_LOG_LEVEL"},"type":"object","properties":{"container":{"type":"string"},"component":{"type":"string"},"logLevel":{"type":"string"}},"required":["container","component","logLevel"],"$$ref":"#/definitions/LogTuningParam"}},"required":["logTuningParam"],"$$ref":"#/definitions/LogConfigValue"}},"required":["key","value"],"$$ref":"#/definitions/LogConfigArg"}}},"required":["id","commandName","clientId","args"],"$$ref":"#/definitions/SubmitLogConfigCommand"}}],"responses":{"200":{"description":"OK. The log config command was submitted and successfully changed log level","schema":{"title":"LogConfigResponse","example":{"clientId":{"uuid":"f3395806-a44f-45fa-9760-01d35425d002"},"responseId":"5aa97f93-c9aa-4c62-8a78-d356a53b5412","commandName":"LOG_TUNING","value":{"logTuningResponse":{"failedContainerList":[]}},"status":"SUCCESS"},"type":"object","properties":{"clientId":{"type":"object"},"uuid":{"type":"string"},"responseId":{"type":"string"},"commandName":{"type":"string"},"value":{"type":"object"},"logTuningResponse":{"type":"object"},"failedContainerList":{"type":"array"},"status":{"type":"string"}},"$$ref":"#/definitions/LogConfigResponse"}},"400":{"description":"Bad Request. The request is malformed in some way and the server cannot process it.","headers":{}}},"__originalOperationId":"SubmitLogConfigCommand","security":[{"bearerAuth":[]}],"method":"patch","path":"/logconfig"}}