Data Discovery is currently in Private Preview and is not available for General Availability (GA). It should not be used in production environments, as features and functionality may change before the final GA release.
Log Level API
Retrieve the runtime log level.
Method
GET
URL
http://{Host Address}/log
Returns the current runtime logging level.
Query Parameters
None
Sample Request
curl -X GET "http://<Host_address>/log"
import requests
url = "http://<Host_address>/log"
response = requests.get(url, verify=False)
print("Status code:", response.status_code)
try:
print("Response JSON:", response.json())
except ValueError:
print("Response Text:", response.text)
URL: GET `http://<Host_address>/log`Sample Response
{
"level": "info"
}Response Fields Description
| Name | Description |
|---|---|
level | The current log level. Possible values: debug, info, warn. |
Response Codes
| Code | Description |
|---|---|
| 200 | Log level information retrieved successfully. |