Search code examples
azureazure-web-app-serviceeventlog-source

Azure Websites and Event Logs


I've an ASP.NET application I'm trying to migrate to an Azure website (shared). In its current form this uses the Event Log to record exceptions.

On Azure websites I can't write to the Event Log so I get an exception trying to record the exception.

What is the recommended way of logging under Azure websites? How can I detect that I'm running under a website and not on my own machine?


Solution

  • What about using Azure storage table?