A developer is troubleshooting server-side HTTP 500 errors on a Windows-based Azure App Service. The developer runs the following Azure CLI command:
az webapp log config --name my-app --resource-group my-rg --failed-request-tracing true
The developer now needs to download and inspect the raw XML log files generated by this feature using the Kudu console. Under which directory in the App Service file system are the Failed Request Tracing logs stored?
- AD:\home\LogFiles\DetailedErrors
- B/home/LogFiles/W3SVC<SiteID>
- D:\home\LogFiles\W3SVC<SiteID>Answer
- DD:\home\LogFiles\Application
Answer
The Failed Request Tracing logs are stored in the directory D:\home\LogFiles\W3SVC<SiteID>.
On a Windows-based Azure App Service, IIS Failed Request Tracing generates detailed XML logs of the IIS request pipeline. These logs are stored in the directory structured as D:\home\LogFiles\W3SVC<SiteID>, where <SiteID> is the platform-assigned IIS site identifier. Developers can browse, download, and analyze these XML files using the Kudu console or FTP to determine why specific requests failed.
Step-by-Step Solution
Key Concept
Identifying the correct log storage directories for different App Service logging features on Windows versus Linux.