Sets the user log configuration.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MessageTraceEnabled |
boolean |
No |
Specifies whether to enable the message trace feature. |
true |
| LogEnabled |
boolean |
No |
Specifies whether to enable the log management feature. |
true |
| LogStoreName |
string |
No |
The name of the Simple Log Service Logstore. |
test-logstore |
| ProjectName |
string |
No |
The name of the Simple Log Service project. |
test-project |
| ClientToken |
string |
No |
Ensures the idempotence of the request. Generate a parameter value from your client to ensure that the value is unique across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence. |
06273500-249 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
06273500-249F-5863-121D-74D51123E62C |
| Code |
integer |
The response code. |
200 |
| Status |
string |
The response status. |
Success |
| Message |
string |
The response message. |
operation success |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "06273500-249F-5863-121D-74D51123E62C",
"Code": 200,
"Status": "Success",
"Message": "operation success",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.