Edit Log Settings

Description

Updates the log settings for the portal.

Request Parameters

Parameter

Details

f

Description: The response format: [html|json|pjson].

Default: html

logDir

Description: File path to the root of the log directories.

Default: Windows: C:\arcgisportal\logs Linux: [server root]/usr/logs/

logLevel

Description: Can be one of [OFF, SEVERE, WARNING, INFO, FINE, VERBOSE, DEBUG].

Default: WARNING

maxLogFileAge

Description: By default, logs are retained on disk for a period of approximately 90 days. When a log exceeds this time frame, it is deleted. Specifying a smaller time frame, for example, 30 days, can prevent the log directory from growing larger than expected.

Default: 90 (days)

Response Format

{"status": "success"}

7/27/2017