Get a logger
get/servers/{serverName}/loggers/{loggerName}
Retrieves a single logger for a CAS server.
1{2 "version": 1,3 "name": "App",4 "level": "info",5 "links": [6 {7 "method": "GET",8 "rel": "up",9 "href": "/casManagement/servers/cas-shared-default/loggers",10 "uri": "/casManagement/servers/cas-shared-default/loggers",11 "type": "application/vnd.sas.collection",12 "itemType": "application/vnd.sas.cas.server.logger.summary"13 },14 {15 "method": "GET",16 "rel": "self",17 "href": "/casManagement/servers/cas-shared-default/loggers/App",18 "uri": "/casManagement/servers/cas-shared-default/loggers/App",19 "type": "application/vnd.sas.cas.server.logger.summary"20 }21 ]22}
Name | Type | Required | Description |
---|---|---|---|
loggerName | string | true | Logger to delete. |
serverName | string | true | Server name for which the logger information is being requested. The media type passed to the request determines if either detailed or summary information is returned. In this version of the API, the content of both are the same. Passing an accept header of application/json is equivalent to requesting detailed information. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The requested information about the logger was returned. | Schema | |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | The requested session in the requested server name does not exist, or the logger requested does not exist. | ||
409 | Conflict | The request could not be completed due to a conflict with the current state of the resource. Details are included in the response body. |