- URL:https://<root>/logs/settings
- Operations:Edit Settings, Update Log Index
- Required Capability:Default administrator role | Security and infrastructure | Servers | Delete | Manage Licenses | Links to organization-specific group | Publisher role
- Version Introduced:10.9
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
Parameter | Details |
---|---|
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:
https://organization.domain.com/context/admin/logs/settings?f=pjson
JSON Response syntax
{
"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
{
"maxLogAgeDays": 60,
"logLevel": "INFO",
"lastModified": 1597076095038
}