Get a JSON list of all log appenders currently configured in the system using the JSON format described in the
header of the class
Resources|
{id} | Get the configuration of the log appender with the given ID using the JSON format described in the header of
the class |
Method Summary|
GET /{BASE}/logging/appenders | Get a JSON list of all log appenders currently configured in the system using the JSON format described in the
header of the class |
POST /{BASE}/logging/appenders | Update all log appenders passed in the JSON list given in the body of the POST service request. |
Method DetailHTTP Example:GET /{BASE}/logging/appenders
| API Example: LoggingWebService.listAppenders({}); |
Get a JSON list of all log appenders currently configured in the system using the JSON format described in the
header of the class - Output:
- javax.ws.rs.core.Response - JSON list
- Produces:
- application/json
|
HTTP Example:POST /{BASE}/logging/appenders
| API Example: LoggingWebService.updateAppenders({}); |
Update all log appenders passed in the JSON list given in the body of the POST service request. - Output:
- javax.ws.rs.core.Response - HTTP status 200 in case of success
- Consumes:
- application/json
- HTTP return codes:
- 200 - appenders updated successfully
- 400 - appender configuration invalid (e.g. not proper JSON)
|