Enabling Diagnostics in Windows Azure
Windows Azure Diagnostics enables you to collect diagnostic data from a worker role or web role running in Windows 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 Windows Azure SDK 2.0 or later. For more information, see Configuring Windows 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 Windows Azure Applications.
For information on manually configuring Diagnostics in your application or remotely changing the Diagnostics monitor configuration, see Collect Logging Data by Using Windows Azure Diagnostics.