Enabling Diagnostics in Azure
Azure Diagnostics enables you to collect diagnostic data from a worker role or web role running in Azure. You can use diagnostic data for debugging and troubleshooting, measuring performance, monitoring resource usage, traffic analysis and capacity planning, and auditing.
You can configure Diagnostics before deployment or at run-time within Visual Studio 2012 or Visual Studio 2013 using the Azure SDK 2.0 or later. For more information, see Configuring Azure Diagnostics.
For additional in-depth guidance on creating a logging and tracing strategy and using diagnostics and other techniques to troubleshoot problems, see Troubleshooting Best Practices for Developing Azure Applications.
For information on manually configuring Diagnostics in your application or remotely changing the Diagnostics monitor configuration, see Collect Logging Data by Using Azure Diagnostics.