Path: / {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


Sub-Resources
Resources
NameDescription
{id}Get the configuration of the log appender with the given ID using the JSON format described in the header of the class

Resource Methods
Method Summary
NameDescription
GET /{BASE}/logging/appendersGet 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/appendersUpdate all log appenders passed in the JSON list given in the body of the POST service request.

Method Detail

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

HTTP Example:
GET /{BASE}/logging/appenders
API Example:

LoggingWebService.listAppenders({});

Output:
Response - JSON list
Produces:
application/json

POST /{BASE}/logging/appenders

Update all log appenders passed in the JSON list given in the body of the POST service request.

HTTP Example:
POST /{BASE}/logging/appenders
API Example:

LoggingWebService.updateAppenders({});

Output:
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)