Notifications
Clear all
Topic starter
18/10/2022 5:22 am
You have an Azure web app named webapp1.
Users report that they often experience HTTP 500 errors when they connect to webapp1.
You need to provide the developers of webapp1 with real-time access to the connection errors. The solution must provide all the connection error details.
What should you do first?
- A . From webapp1, enable Web server logging
- B . From Azure Monitor, create a workbook
- C . From Azure Monitor, create a Service Health alert
- D . From webapp1, turn on Application Logging
Suggested Answer: A
Explanation:
To resolve this you need to catch connection error. When the connection fails for webapp, it happens on web server, not within application.
You can find out the web server log by below steps:
Open the web application --> Go to Application Service logs --> Go to Web server logging (there are multiple switches there)
You can also see the errors live going to "Log stream" pane.
To ensure that you will get web server log, you have to enable it.
Explanation:
To resolve this you need to catch connection error. When the connection fails for webapp, it happens on web server, not within application.
You can find out the web server log by below steps:
Open the web application --> Go to Application Service logs --> Go to Web server logging (there are multiple switches there)
You can also see the errors live going to "Log stream" pane.
To ensure that you will get web server log, you have to enable it.
Reference: https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs