Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure web app unhandled exception

I have deployed an MVC5 application on Azure as a Web App. I need to configure the web app so that it writes log in case it throws un-handled exception. The log should include the exception message. Is it possible to do in Azure web app? Does anyone how to configure this ? Thanks.

like image 467
Gaurav Avatar asked May 15 '26 23:05

Gaurav


1 Answers

You just need to turn on 'Detailed Error Messages' for your Web App. This article gives details about the various logging options.

The error files get created under /LogFiles/DetailedErrors/ (best accessed via Kudu Console).

like image 162
David Ebbo Avatar answered May 17 '26 17:05

David Ebbo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!