Settings (Logs)

Description

The settings resource returns the current log settings for an organization. At ArcGIS Enterprise 11.2 on Kubernetes, this resource returns the maximum number of days logs are retained in the system before they are deleted (maxLogAgeDays).

Request parameters

ParameterDetails

f

The response format. The default 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://organization.domain.com/context/admin/logs/settings?f=pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "maxLogAgeDays": <Number of days for the log retention policy>
  "logLevel": "<INFO | SEVERE | WARNING | FINE | VERBOSE | DEBUG>",
  "lastModified": <Milliseconds from epoch from when log settings were last updated>
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "maxLogAgeDays": 60,
  "logLevel": "INFO",
  "lastModified": 1597076095038
}

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