Gaurav
Gaurav

Reputation: 139

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.

Upvotes: 3

Views: 1645

Answers (1)

David Ebbo
David Ebbo

Reputation: 43193

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

Upvotes: 3

Related Questions