About server logs

ArcGIS Server records events that occur, and any errors associated with those events, to logs. Logs are an important tool for monitoring and troubleshooting problems with your site. Information in the logs will help you identify errors and provide context on how to address problems. The logs also comprise a history of the events that occur over time.

For example, the following events are recorded in the logs:

The following events are not recorded in the logs:

Access server logs

Use ArcGIS Server Manager to query, view, configure, and delete server logs. Manager aggregates the messages into a table that you can read and manipulate.

To access the logs, follow these steps:

  1. Open Manager and log in. If you need help with this step, see Logging in to Manager.
  2. Click Logs > View Logs to review the current logs. You can also use the filters controls on the page to help you narrow down events and display more relevant messages. Work with server logs contains details on how to capture events, query the logs, review messages, and filter events based on certain criteria.
  3. To manage log settings, such as the default level of logging, how long logs are kept on disk, and where the server writes its logs, click Settings. See About specifying server log settings for details.
  4. If you want to delete the logs, click Delete Logs. This deletes all of the log files from each GIS server in the site.

Performing advanced logging

If you're an advanced user of ArcGIS Server, you can view, query, and configure logs through the ArcGIS REST API. This API allows you to programmatically construct advanced queries, modify log settings, and derive statistics over time. You can use the ArcGIS Server Administrator Directory to help you learn how to construct these queries.

There are also several sample scripts available that use the ArcGIS REST API to work with logs, including the following:

Related topics