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
Method DetailHTTP Example:GET /{BASE}/logging/modules/{id}
| API Example: LoggingWebService.getModule({'id': }); |
Get the configuration of the logging module with the given id, using the JSON format described in the
header of this class. - Output:
- javax.ws.rs.core.Response - HTTP status 200 in case of success
- Produces:
- application/json
- HTTP return codes:
- 200 - module found
- 404 - module not found
|
HTTP Example:POST /{BASE}/logging/modules/{id}
| API Example: LoggingWebService.updateModule({'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. - Output:
- javax.ws.rs.core.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
|