Retrieves the log configuration of a user.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
06273500-249F-5863-121D-74D51123**** |
| 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 is successful. |
true |
| Data |
object |
The response data. |
|
| MessageTraceEnabled |
boolean |
Indicates whether the message trace feature is enabled. |
true |
| LogEnabled |
boolean |
Indicates whether the Log Management feature is enabled. |
true |
| LogStoreName |
string |
The name of the Simple Log Service Logstore. |
test-logstore |
| ProjectName |
string |
The name of the Simple Log Service project. |
test-project |
Examples
Success response
JSON format
{
"RequestId": "06273500-249F-5863-121D-74D51123****",
"Code": 200,
"Status": "Success",
"Message": "operation success",
"Success": true,
"Data": {
"MessageTraceEnabled": true,
"LogEnabled": true,
"LogStoreName": "test-logstore",
"ProjectName": "test-project"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.