/api/v0/log/level
Change the logging level.
Arguments
arg[string]: The subsystem logging identifier. Use 'all' for all subsystems. Required: yes.arg[string]: The log level, with 'debug' the most verbose and 'fatal' the least verbose. One of: debug, info, warn, error, dpanic, panic, fatal. Required: yes.
Response
On success, the call to this endpoint will return with 200 and the following body:
{
"Message": "<string>"
}
cURL Example
curl -X POST "http://127.0.0.1:5001/api/v0/log/level?arg=<subsystem>&arg=<level>"
Last updated