Update Server Log Configuration
patch
http://{host}:{port}/veridata/v1/services/logs/server/configuration
Required Role: Administrator, SuperUser, CommandLineOperator
Update Server Log Configuration
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source object
- level(required): string Allowed Values:
[ "ALL", "SEVERE", "WARNING", "INFO", "FINE", "FINER", "FINEST" ]
Log level - logComponents: string Specific component settings, provided as a comma-separated key/value pair
- logHandlers: string Specific handler settings, provided as a comma-separated key/value pair
Example:
{ "level":"WARNING", "logHandlers":"FileHandler", "logComponents":"oracle.veridata.server.performance=FINEST, oracle.veridata.server=ALL" }
Response
Supported Media Types
- application/json
200 Response
Updated Server log configurations successfully
Root Schema : ServerLogConfigUpdateResponse
Type:
Show Source object
- logLevel: string Updated log level
- message: string Confirmation message.
Example:
{ "message":"Successfully set the log level!", "logLevel":"FINE" }
400 Response
Bad Request.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
401 Response
Unauthorized.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
404 Response
Not Found.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
500 Response
Server Error.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }