OPS: outputlevel
OPS: Set Output Level¶
Sets the verbosity of the console output of the server. The following are the legal values:
- "error" : Only error messages are printed
- "warn" : Only error and warning messages are printed
- "info" : Error, warning, and informational messages are printed
- "verbose" : Error, warning, informational, and verbose messages are printed
- "debug" : Error, warning, informational, verbose, and debug messages are printed
- "trace" : Error, warning, informational, verbose, debug, and function trace messages are printed
This is an ephemeral call and will only change the output level for the lifespan of the server process. It will not persist across server restarts.
Endpoint: /api/v1/ops/outputlevel
Verb: POST
Payload:
The request specifies the show being paused/unpaused and what the new state is expected to be.
| Type | Attribute | Required | Description |
|---|---|---|---|
| string | level | Yes | A valid error level as specified above |
Example Response:
{
"api_code": 0,
}
or
{
"api_code": xxxx,
"error": {
"error_code": xxxxx,
"error_message": "Erorr message",
"error_detail": "Optional additional details about error",
"suggestion": "Optional suggestion on how to resolve error",
"callstack": "Optional debug callstack."
}
}
See https://studio.wevr.com/wevr/projects/gem/gem-platform/-/wikis/GEM-API-Codes for error codes contained therein.
See https://studio.wevr.com/wevr/projects/gem/gem-platform/-/wikis/GEM-Server-Codes for error codes contained therein.