Get a list of loggers

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

Returns a collection of loggers on the CAS server. Supports SAS standard paging query parameters. Supports SAS standard paging query parameters, sorting, and filtering. Schema of items returned in the response collection is included below, and are of type application/vnd.sas.cas.server.logger.summary+json.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "up",
6 "href": "/casManagement/servers/cas-shared-default/",
7 "uri": "/casManagement/servers/cas-shared-default/",
8 "type": "application/vnd.sas.cas.server"
9 },
10 {
11 "method": "GET",
12 "rel": "self",
13 "href": "/casManagement/servers/cas-shared-default/loggers?locale=en_US&start=0&limit=50",
14 "uri": "/casManagement/servers/cas-shared-default/loggers?locale=en_US&start=0&limit=50",
15 "type": "application/vnd.sas.collection",
16 "itemType": "application/vnd.sas.cas.server.logger.summary"
17 },
18 {
19 "method": "GET",
20 "rel": "collection",
21 "href": "/casManagement/servers/cas-shared-default/loggers",
22 "uri": "/casManagement/servers/cas-shared-default/loggers",
23 "type": "application/vnd.sas.collection",
24 "itemType": "application/vnd.sas.cas.server.logger.summary"
25 }
26 ],
27 "name": "loggers",
28 "accept": "application/vnd.sas.cas.server.logger.summary",
29 "start": 0,
30 "count": 22,
31 "items": [
32 {
33 "version": 1,
34 "name": "Admin",
35 "level": "info"
36 },
37 {
38 "version": 1,
39 "name": "App",
40 "level": "info"
41 },
42 {
43 "version": 1,
44 "name": "App.cas.actions",
45 "level": "info"
46 },
47 {
48 "version": 1,
49 "name": "App.cas.table.eventing",
50 "level": "trace"
51 },
52 {
53 "version": 1,
54 "name": "App.tk.eam.ssl.Buffer",
55 "level": "fatal"
56 },
57 {
58 "version": 1,
59 "name": "App.tk.eam.ssl.openssl102.Locks",
60 "level": "fatal"
61 },
62 {
63 "version": 1,
64 "name": "App.tk.eam.ssl.openssl102.Mem",
65 "level": "fatal"
66 },
67 {
68 "version": 1,
69 "name": "App.tk.hps.TraceNodes",
70 "level": "trace"
71 },
72 {
73 "version": 1,
74 "name": "App.tk.http.server.access",
75 "level": "error"
76 },
77 {
78 "version": 1,
79 "name": "App.tk.HTTPC.debug",
80 "level": "fatal"
81 },
82 {
83 "version": 1,
84 "name": "App.tk.HTTPC.wire",
85 "level": "fatal"
86 },
87 {
88 "version": 1,
89 "name": "Audit",
90 "level": "info"
91 },
92 {
93 "version": 1,
94 "name": "Audit.Authentication.cas.function",
95 "level": "info"
96 },
97 {
98 "version": 1,
99 "name": "Audit.Authorization.cas.ACChange",
100 "level": "info"
101 },
102 {
103 "version": 1,
104 "name": "Audit.Authorization.cas.function",
105 "level": "info"
106 },
107 {
108 "version": 1,
109 "name": "Audit.Authorization.cas.IsAuth",
110 "level": "info"
111 },
112 {
113 "version": 1,
114 "name": "Audit.Authorization.cas.persist",
115 "level": "info"
116 },
117 {
118 "version": 1,
119 "name": "Audit.Authorization.cas.sync",
120 "level": "info"
121 },
122 {
123 "version": 1,
124 "name": "Audit.Authorization.cas.xml",
125 "level": "info"
126 },
127 {
128 "version": 1,
129 "name": "Logging",
130 "level": "error"
131 },
132 {
133 "version": 1,
134 "name": "Perf.cas.actions",
135 "level": "info"
136 },
137 {
138 "version": 1,
139 "name": "root",
140 "level": "error"
141 }
142 ],
143 "limit": 50,
144 "version": 2
145}

Path Parameters

NameTypeRequiredDescription
serverName
string
true

Server name for which nodes are being requested.

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

Filter criteria for returned items. The valid filter fields are the first-level fields in each item. The supported functions are and, or, not, eq, lt, le, gt, ge, contains, startsWith, endsWith, and isNull. A sample query to return only the worker node: filter=eq(role,controller)

limit
integer
false

Maximum number of items to return in this page of results. The actual number of returned items can be less if the collection has been exhausted. Defaults to 10.

sessionId
string
false

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

sortBy
string<sort-criteria>
false

Sort returned items. An example sort: sortBy=level:descending. The default sort is by name in ascending order.

start
integer
false

The starting index of the first item in a page. Defaults to 0.

Responses

StatusMeaningDescription
200OKThe list of loggers for the requested CAS server was returned.Schema
400Bad RequestAn error occurred.Schema
404Not FoundThe requested CAS server 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.