LogResource
Rest Resource containing various end-points regarding system logging output, to access and manipulate logging levels. Copyright 2013 WANdisco.
The following resources are part of this group:
/logging
Mount Point: /logging
GET
Response Body
element: | (custom) |
media types: | application/xml application/json |
list of all LoggerDTOs currently available in memory
/logging/levels
Mount Point: /logging/levels
GET
Response Body
element: | (custom) |
media types: | application/xml application/json |
a list of log levels that can be applied to modify loggers
/logging/reload
Mount Point: /logging/reload
PUT
Reloads (resets) logging levels for all configurable packages from the file into memory, with immediate effect
Response Body
element: | (custom) |
media types: | */* application/xml |
(no documentation provided)
/logging/save
Mount Point: /logging/save
POST
Saves logging levels for all configurable packages from memory to the file.
Response Body
element: | (custom) |
media types: | */* application/xml |
(no documentation provided)
/logging/package/{packageName}
Mount Point: /logging/package/{packageName}
The following operations are supported on this resource:
GET
Parameters
name | description | type | default |
---|---|---|---|
packageName | name of the logger to be retrieved | path |
Response Body
element: | (custom) |
media types: | application/xml application/json |
LoggerDTO with specified packageName, if present in memory
PUT
Changes the logging level for the logger, with specified packageName, in the list of loggers in memory with immediate effect.
Parameters
name | description | type | default |
---|---|---|---|
packageName | name of the logger to be changed | path | |
level | new logging level for the logger | query |
Response Body
element: | (custom) |
media types: | */* application/xml |
(no documentation provided)
POST
Adds a logger with specified packageName and logging level, to the list of loggers in memory, with immediate effect.
Parameters
name | description | type | default |
---|---|---|---|
packageName | name of the logger to be added | path | |
level | logging level for the logger to be added | query |
Response Body
element: | (custom) |
media types: | */* application/xml |
(no documentation provided)
DELETE
Deletes a logger, specified by the packageName, from the list of loggers in memory with immediate effect.
Parameters
name | description | type | default |
---|---|---|---|
packageName | name of the logger to be deleted | path |
Response Body
element: | (custom) |
media types: | */* application/xml |
(no documentation provided)