Updates general logging options for passed arguments.
Since Product Version: 3.2
Resource Information
Rate Limiting? |
Yes |
Sorting? |
No |
Paging? |
No |
Filtering? |
No |
Aggregation? |
No |
Response Formats |
xml json |
User Group |
NBI Credential |
HTTP Methods |
PUT |
DevNet Discussions
Resource URL
/webacs/api/v3/op/settings/logging/generalLoggingOptions UnmodifiedThis resource has not been modified since the previous API version.
Request Payload Parameters
Attribute | Description |
---|---|
Log files setting: maximum number of files, and maximun file size. |
|
logMessageLevel LogMessageLevelEnum |
Log message level: "INFO", "ERROR" or "TRACE". Allowed values: |
An ordered list of log module names with attribute "enabled". |
Sample Payloads
Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.
Sample XML Request Payload
https://localhost/webacs/api/v3/op/settings/logging/generalLoggingOptions
<?xml version="1.0" ?>
<generalLoggingOptionsDTO>
<logFileSettings>
<maxFileSize>2</maxFileSize>
<maxFilesCount>1</maxFilesCount>
</logFileSettings>
<logMessageLevel>INFO</logMessageLevel>
<logModules>
<logModules>
<enabled>true</enabled>
<moduleName>String value</moduleName>
</logModules>
<logModules>
<enabled>true</enabled>
<moduleName>String value</moduleName>
</logModules>
</logModules>
</generalLoggingOptionsDTO>
Sample JSON Request Payload
https://localhost/webacs/api/v3/op/settings/logging/generalLoggingOptions.json
{
"generalLoggingOptionsDTO" : {
"logFileSettings" : {
"maxFileSize" : 2,
"maxFilesCount" : 1
},
"logMessageLevel" : "INFO",
"logModules" : {
"logModules" : [ {
"enabled" : true,
"moduleName" : "String value"
}, {
"enabled" : true,
"moduleName" : "String value"
} ]
}
}
}