Update Agent Log Configurations
patch
http://{host}:{port}/veridata/v1/services/logs/agents/{Id}/configuration
Required Role: Administrator, SuperUser, CommandLineOperator
Update Agent Log configurations.
Request
Path Parameters
-
Id(required): integer
Agent ID.
Supported Media Types
- application/json
Nested Schema : LogConfigParams
Type:
Show Source
object-
level: string
Allowed Values:
[ "INFO", "SEVERE", "OFF", "FINEST" ]Log level to be updated for component -
name: string
Log component to be updated
Example:
{
"level":"INFO",
"name":"oracle.veridata"
}Response
Supported Media Types
- application/json
200 Response
Updated Agent log configurations successfully.
Root Schema : schema
Type:
Show Source
object-
message: string
Example:
Configurations updated successfully
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"
}