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.
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).