Path: / {BASE} / logging / modules / {id}

Get the configuration of the logging module with the given id, using the JSON format described in the header of this class.

Path parameters:
id - unique logging module identifier

Resource Methods
Method Summary
NameDescription
GET /{BASE}/logging/modules/{id}Get the configuration of the logging module with the given id, using the JSON format described in the header of this class.
POST /{BASE}/logging/modules/{id}Update the module with the given id, using the JSON description sent in the body of the request.

Method Detail

GET /{BASE}/logging/modules/{id}

Get the configuration of the logging module with the given id, using the JSON format described in the header of this class.

HTTP Example:
GET /{BASE}/logging/modules/{id}
API Example:

LoggingWebService.getModule({'id': /* id unique logging module identifier */});

Output:
Response - HTTP status 200 in case of success
Produces:
application/json
HTTP return codes:
200 - module found
404 - module not found

POST /{BASE}/logging/modules/{id}

Update the module with the given id, using the JSON description sent in the body of the request. Only the fields "level" and "appenders" can be updated for modules.

HTTP Example:
POST /{BASE}/logging/modules/{id}
API Example:

LoggingWebService.updateModule({'id': /* id unique logging module identifier */});

Output:
Response - HTTP status 200 in case of success
Consumes:
application/json
HTTP return codes:
200 - module updated successfully
400 - module configuration invalid (e.g. not proper JSON)
404 - module not found