Cisco Evolved Programmable Network Manager API
Evolved Programmable Network Manager API Documentation

GET settings/logging/generalLoggingOptions

Retrieves current general logging options with log modules names in alphabet case insensitive order.

Since Product Version: 3.2

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Credential

HTTP Methods

GET

API version v1 is deprecated

This API version has been deprecated. It will be removed in a future release of the product. Please develop new clients using the latest API version. Please modify your existing clients to use a later API version.

Resource URL

/webacs/api/v1/op/settings/logging/generalLoggingOptions

Response Parameters

Attribute Description

logFileSettings Arrow image LogFileSettingsDTO

Log files setting: maximum number of files, and maximun file size.

logMessageLevel LogMessageLevelEnum

Log message level: "INFO", "ERROR" or "TRACE".

  • INFO
  • ERROR
  • TRACE

logModules Arrow image LogModuleDTO[]

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 Response Payload

https://10.64.80.159/webacs/api/v1/op/settings/logging/generalLoggingOptions

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="../../../../../../pages/common/login.jsp.html" rootUrl="https://10.64.80.159/webacs/api/v1/op">
  <generalLoggingOptionsDTO>
    <logFileSettings>
      <maxFileSize>2</maxFileSize>
      <maxFilesCount>1</maxFilesCount>
    </logFileSettings>
    <logMessageLevel>INFO</logMessageLevel>
    <logModules>
      <logModules>
        <enabled>true</enabled>
        <moduleName>String value</moduleName>
      </logModules>
      <logModules>
        <enabled>false</enabled>
        <moduleName>Another string value</moduleName>
      </logModules>
    </logModules>
  </generalLoggingOptionsDTO>
</mgmtResponse>

Sample JSON Response Payload

https://10.64.80.159/webacs/api/v1/op/settings/logging/generalLoggingOptions.json

{
  "mgmtResponse" : {
    "@responseType" : "operation",
    "@requestUrl" : "https : \/\/10.64.80.159\/webacs\/api\/v1\/op\/settings\/logging\/generalLoggingOptions",
    "@rootUrl" : "https : \/\/10.64.80.159\/webacs\/api\/v1\/op",
    "generalLoggingOptionsDTO" : {
      "logFileSettings" : {
        "maxFileSize" : 2,
        "maxFilesCount" : 1
      },
      "logMessageLevel" : "INFO",
      "logModules" : {
        "logModules" : [{
          "enabled" : true,
          "moduleName" : "String value"
        },
        {
          "enabled" : false,
          "moduleName" : "Another string value"
        }]
      }
    }
  }
}