Get a logger

get/servers/{serverName}/loggers/{loggerName}
Internal-Use Only

Retrieves a single logger for a CAS server.

Request Samples

1

Response Samples

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}

Path Parameters

NameTypeRequiredDescription
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.

Query Parameters

NameTypeRequiredDescription
sessionId
string
false

Session ID to use when connecting to retrieve the logger. If not specified, a temporary session is used.

Responses

StatusMeaningDescription
200OKThe requested information about the logger was returned.Schema
400Bad RequestThe request was invalid.Schema
404Not FoundThe requested session in the requested server name does not exist, or the logger requested does not exist.
409ConflictThe request could not be completed due to a conflict with the current state of the resource. Details are included in the response body.