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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Allowed Values: [ "ALL", "SEVERE", "WARNING", "INFO", "FINE", "FINER", "FINEST" ]
    Log level
  • description: | Comma-separated key/value pairs of log components and their levels. Possible components include: `oracle.veridata.server.performance`, `oracle.veridata.server` Possible levels include: `ALL`, `SEVERE`, `WARNING`, `INFO`, `FINE`, `FINER`, `FINEST` Example: `oracle.veridata.server.performance=FINEST, oracle.veridata.server=ALL`
  • Comma-separated list of log handlers. Possible handlers include: `FileHandler`, `ConsoleHandler`
Example:
{
    "level":"WARNING",
    "logHandlers":"FileHandler, ConsoleHandler",
    "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