Updates the service log configurations of a project.
Operation description
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /logging HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | The name of the project. | ali-test-project |
body | object | Yes | The request body. | |
loggingProject | string | Yes | The name of the project to which you want to save service logs. | my-project |
loggingDetails | array<object> | Yes | The configurations of service logs. | |
object | No | |||
type | string | Yes | The type of service logs. Valid values:
| consumergroup_log |
logstore | string | Yes | The name of the Logstore to which you want to save service logs. | my-logstore |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.