public class SetLogging extends APIServlet.APIRequestHandler
The SetLogging API will set the NRS log level for all log messages. It will also set the communication events that are logged.
Request parameters:
Response parameters:
The following log levels can be specified:
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowRequiredBlockParameters() |
protected boolean |
isChainSpecific() |
protected org.json.simple.JSONStreamAware |
processRequest(javax.servlet.http.HttpServletRequest req)
Process the SetLogging API request
|
protected boolean |
requireBlockchain() |
protected boolean |
requirePassword()
Require the administrator password
|
protected boolean |
requirePost() |
canHaveRecipient, getAPITags, getCreateTransactionTypes, getFileParameters, getParameters, getSensitiveParameters, isIgnisOnly, isTextArea, processRequest, requiredBlockUpdateLock, requireFullClient, startDbTransactionprotected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req)
throws ParameterException
processRequest in class APIServlet.APIRequestHandlerreq - API requestParameterException - Invalid parameter valueprotected boolean requirePassword()
requirePassword in class APIServlet.APIRequestHandlerprotected final boolean requirePost()
requirePost in class APIServlet.APIRequestHandlerprotected boolean allowRequiredBlockParameters()
allowRequiredBlockParameters in class APIServlet.APIRequestHandlerprotected boolean requireBlockchain()
requireBlockchain in class APIServlet.APIRequestHandlerprotected boolean isChainSpecific()
isChainSpecific in class APIServlet.APIRequestHandler