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:

1
https://organization.domain.com/context/admin/logs/settings?f=pjson

JSON Response syntax

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

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close