Update Log Configurations Using PUT
Change level of the logs
Request
URI
PUT
https://{api_host}/api/logs/configuration/{logtype}
COPY
Path Parameters
string
logtype
Required
Log type
Possible values are : ANALYTICS, COLLECTOR, WEB, VIEW_BRIDGE, VCOPS_BRIDGE, SUITEAPI,
Request Body
The data for log configuration
log-configuration of type(s) application/json
Required
Show optional properties
{
"maxLogSize": 0,
"rootLoggerLevel": "string"
}
{
"maxLogSize": 0,
"rootLoggerLevel": "string",
"settings": [
{
"level": "string",
"name": "string"
}
]
}
integer As int32 As int32
maxLogSize
Required
This number specifies how much of log data to retain (MB)
string
rootLoggerLevel
Required
The level of the logger root
Possible values are : INFO, WARNING, ERROR, FATAL, OFF, UNKNOWN,
Responses
200
The updated data for log configuration
Returns log-configuration of type(s) application/json
{
"maxLogSize": 0,
"rootLoggerLevel": "string",
"settings": [
{
"level": "string",
"name": "string"
}
]
}
integer As int32 As int32
maxLogSize
Required
This number specifies how much of log data to retain (MB)
string
rootLoggerLevel
Required
The level of the logger root
Possible values are : INFO, WARNING, ERROR, FATAL, OFF, UNKNOWN,
404
Given wrong or non existing log name
Operation doesn't return any data structure