I have an error page below. The view page returns successfully, the error occurred when a submit button is clicked.
How to view the error log? What is the quick way to check log, Application Insight, Log Analytics, or App Service Logs? App Service logs are off. Application Insights is already enabled
I notice that it happens every time after the app has been published to Azure. The error occurred intermittently.
Udpate
Application Insights is already enabled
auzre portal -> application insights -> AI name -> logs
Run the query below:
union traces
| union exceptions
| where timestamp > ago(10d)
| where cloud_RoleName == "My_App_Service_Name"
| order by timestamp asc
Result:
No result
Is there any setting missing? Diagnostic settings?
The error occurred intermittently.