- URL:
- https://<root>/logs/settings
- Methods:
GET
- Required Capability:
- Access allowed with either the "Manage Licenses", "Links to organization-specific group", "Delete", "Security and infrastructure", or "Servers" privileges, or the 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 (max
).
Request parameters
Parameter | Details |
---|---|
| The response format. The default format is Values: |
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
}