Update Server Log Configurations

patch

http://{host}:{port}/veridata/v1/services/logs/server/configuration

Required Role: Administrator, SuperUser, CommandLineOperator

Update Server Log configurations.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Example:
{
    "level":"WARNING",
    "logHandlers":"FileHandler",
    "logComponents":"oracle.veridata.server.performance=FINEST, oracle.veridata.server=ALL"
}
Back to Top

Response

Supported Media Types

200 Response

Updated Server log configurations successfully.
Body ()
Root Schema : ServerLogConfigUpdateResponse
Type: object
Show Source
Example:
{
    "message":"Successfully set the log level!",
    "logLevel":"FINE"
}

400 Response

Bad Request.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{
    "errCode":"OGGV-00001",
    "errMsg":"Error message"
}

401 Response

Unauthorized.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{
    "errCode":"OGGV-00001",
    "errMsg":"Error message"
}

404 Response

Not Found.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{
    "errCode":"OGGV-00001",
    "errMsg":"Error message"
}

500 Response

Server Error.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{
    "errCode":"OGGV-00001",
    "errMsg":"Error message"
}
Back to Top