Azure application logging can greatly reduce the time to diagnose and resolve issues. Below are the steps for accessing those logs for the integration environment.
First, ensure that Azure application logging(blob) is enabled. Please note that enabling this will restart the web application, potentially causing downtime.
If you have PaaS Portal account you can retrieve logs there.
- Log into the PaaS portal.
- Choose the organization and project you are looking to retrieve logging from.
- On the next screen choose the environment, site, and dates for the logs.
- Click Generate Download Link.
If you are not using the PAAS portal logs, logs can be downloaded using Azure Storage Explorer.
- Download and install Azure Storage Explorer.
- Run Azure Storage Explorer.
- When you first start the program you should see an option to add an account. However if you do not, click the plug button.
- Log in with the Microsoft account used to access DxC Azure resources.
- Choose the proper subscription.
- Choose the storage account you need logs from.
- Go into Blob Containers > azure-application-logs.
- Choose the appropriate folder(s). The folder structure is as follows.
EnvironmentName > Year > Month > Day > Hour
- Click the download button.