Search code examples
c#exceptionloggingazureazure-worker-roles

How do I log and retrieve Azure Worker role exceptions?


I have a free account with Azure (90 day trial) and I'm finding that my worker role is erroring out. I don't have any of the monitoring features enabled because I believe they cost money.

Is there any way for me to log the errors and store them somewhere where I can retrieve them without having to upgrade my account to a paid account?


Solution

  • What I've found myself that is was quite time consuming to implement the Azure Diagnostics, and the best way so far, was to launch the Azure Emulator on my machine, and see what error's it shows.

    What You do, is simple set up Your Azure project as startup and run it. Or right click on the Azure project and select : Debug -> Start New Instance