Get Diagnostic Log Settings
get
/essbase/rest/v1/settings/odlLogSettings
Get the Oracle Diagnostic Log (ODL) settings.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
- application/xml
Default Response
OK
Successful operation.
Examples
The following example shows how to get the Oracle Diagnostic Log (ODL) settings for Essbase.
This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat
.
Script with cURL Command
call properties.bat
curl -X GET https://myserver.example.com:9001/essbase/rest/v1/settings/odlLogSettings -H "Accept:application/json" -u %User%:%Password%
Example of Response Body
The following example shows the contents of the response body in JSON format:
{
"items" : [ {
"handlerName" : "serverhandler",
"logType" : "SIZEBASED",
"maxLogSize" : "10",
"maxAllLogSize" : "500"
}, {
"handlerName" : "jagent-handler-text",
"logType" : "SIZEBASED",
"maxLogSize" : "10",
"maxAllLogSize" : "500"
} ]
}