Log Settings

URL:
https://<root>/logs/settings
Methods:
GET
Required Capability:
Access allowed with any authorized privilege
Version Introduced:
10.1

Description

The settings resource returns the current log settings.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the settings resource:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/admin/logs/settings?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
{
  "settings": {
    "logDir": "C:\\arcgisserver\\logs\\"
    "logLevel": "INFO",
    "maxLogFileAge": 90,
    "maxErrorReportsCount": 10
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.