HOW TO
The following instructions are for capturing detailed, debug-level logs for your Portal for ArcGIS and ArcGIS Server products. In each case, it is important to capture the events that occur during the problematic steps or issue, to limit the unnecessary sharing of secure information, reduce file size, and to filter out unrelated information.
Note:
If your ArcGIS Server site includes a registered ArcGIS Data Store, its logs will also appear within the ArcGIS Server logs.
If the logging level was not previously set to Debug when the behaviour was first observed, the system will not have captured the detailed diagnostic information needed for troubleshooting. By setting the log level to Debug and then reproducing the issue, you ensure that the logs contain the necessary depth of information for Esri Support Services to investigate effectively.
While troubleshooting issues related to the ArcGIS Enterprise organization, and the ArcGIS Server site via screenshare and over the telephone is preferred, Esri Support Services recognizes that in some complex or urgent cases, analysts will need to ask users to provide more detailed, debug-level log files for troubleshooting.
Although log files can be crucial to quickly resolving issues, it is important to note that these files may also contain sensitive information, including but not limited to:
Esri values the security and privacy of their customers’ data, and as such, acknowledges the potential security and privacy issues associated with sharing log files. To limit these risks, Esri recommends 'sanitizing' these files (instructions below) prior to sharing log files with Esri support.
Esri cannot be held liable if this notice is ignored, and Esri cannot sanitize log files on a customer’s behalf. While by policy Esri Support Services uses a secure environment to test customer data and review log files, this environment, by necessity, cannot be completely isolated and can access:
Access to all other hosts is denied.
All files sent to Support services will be deleted in 90 days.
If there are doubts regarding the content of log files, Esri recommends that customers choose to NOT share log files with Esri support services and work with the support analyst to address the problem via other methods.
Warning The debug log level should only be used temporarily while debugging or troubleshooting, as it may cause a significant decrease in performance. Debug logs are highly detailed, which can significantly increase disk usage on the drive where logs are stored. Ensure you revert to the original log level once the necessary data has been captured to avoid potential performance or storage issues.
Specify debug logging level
https://webadaptorhost.domain.com/webadaptorname/portaladmin
Important:
Make a note of the original log level so you can restore it when you’re finished collecting logs.
Reproduce the issue
Perform the actions that lead to the abnormal behaviour. Take note of the time the issue occurs to help isolate relevant log entries.
Collect the logs
ArcGIS Portal logs can be gathered from the Portal Administrator Directory, or directly from disk on the machine where Portal for ArcGIS is installed.
• Using the Portal Administrator Directory
https://webadaptorhost.domain.com/webadaptorname/portaladmin
• Logs from Disk
Note: The default directory for Portal for ArcGIS logs is C:\arcgisportal\logs
Finally, return to the Portal Administrator Directory, and navigate to Logs > Settings > Edit to revert the log level to its original setting. For detailed instructions, refer to the steps under the subheading Specify debug logging level, above.
Note: If the ArcGIS Server site includes a registered ArcGIS Data Store, its logs will also appear within the ArcGIS Server logs. These entries will match the log level set in ArcGIS Server Manager and can be reviewed alongside other server activity.
Specify debug logging level
https://webadaptorhost.domain.com/webadaptorname/manager
Important:
Make a note of the original log level so you can restore it when you’re finished collecting logs.
Reproduce the issue
Perform the actions that lead to the abnormal behaviour. Take note of the time the issue occurs to help isolate relevant log entries.
Collect the logs
ArcGIS Server logs can be collected from the ArcGIS Server Manager, or directly from disk on the machine where ArcGIS Server is installed.
• From the ArcGIS Server Manager
https://webadaptorhost.domain.com/webadaptorname/manager
• From Disk
Note: The default directory where the ArcGIS Server logs are written is C:\arcgisserver\logs
Finally, return to the ArcGIS Server Manager, and navigate to Logs > Settings to revert the log level to its original setting. For detailed instructions, refer to the steps under the subheading Specify debug logging level, above.
Once the log file is generated, you will need to inspect it with a text editor such as Notepad, Notepad ++, or Sublime Text and remove all sensitive information using the steps below.
VBQlHZ__ONCdOUPteoQPfEEPYTyrfy3XugMasrGO90rUmGiMa_tzvjfksFsZ57MtTE1gywBYtVhrldIKuPPu7MFt4u6ukauvDtH4r2kZePZtgbCFomXc0ThIuwF9cPK6LNTFOJ3Q850ilLO2zP6kzmaY0cfnsJBMcoPmFH9BOLamDQFig3628HwU53xis4gIiEJNkWhnI3ynb
AAPK5f9f39a988764653b27dd7d01fa14d35kfSLvKsiJoeoXX2oFBXE_021u_apQt1eAssZEfnmcri1hUhBmHEyxoOXJhaW9xgie
If you have any questions about this, please feel free to discuss them with your Support Service analyst.
Article ID: 000038544
Get help from ArcGIS experts
Start chatting now