DiagnosticMonitorTraceListener in Azure Websites

I am using Azure Cloud Services and was used to reading my trace logs with Azure Management Studio, with logs being stored in table storage using DiagnosticMonitorTraceListener.

Now when starting new azure websites it seems they are using a diffrent logging structure? Is it not possible to see the trace logs from azure website using azure management studio in the Diagnostic/Trace like i used to with Cloud Services

August 31st, 2015 5:12am

The diagnostics viewer tool for cloud services will not work for Azure Websites, but there is a tool for viewing your Azure Website logs called Azure Website Log Browser. It is installed as a site extensions on your Azure Website.

Diagnostics in azure websites is similar to any web application. DiagnosticsMonitor applies to webroles. In the case of websites, diagnostics need to have a persistent storage and it can be configured in azure management portal. Check out these posts:

http://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-diagnostics/
http://blogs.msdn.com/b/microsoft_press/archive/2014/01/29/from-the-mvps-diagnostics-and-logging-in-windows-azure-web-sites.aspx
http://www.hanselman.com/blog/StreamingDiagnosticsTraceLoggingFromTheAzureCommandLinePlusGlimpse.aspx

The logs can be downloaded and analyzed locally. I am not sure if the tool that supported webroles works for this too.


  • Marked as answer by KarenV86 21 hours 47 minutes ago
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 5:14am

The diagnostics viewer tool for cloud services will not work for Azure Websites, but there is a tool for viewing your Azure Website logs called Azure Website Log Browser. It is installed as a site extensions on your Azure Website.

Diagnostics in azure websites is similar to any web application. DiagnosticsMonitor applies to webroles. In the case of websites, diagnostics need to have a persistent storage and it can be configured in azure management portal. Check out these posts:

http://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-diagnostics/
http://blogs.msdn.com/b/microsoft_press/archive/2014/01/29/from-the-mvps-diagnostics-and-logging-in-windows-azure-web-sites.aspx
http://www.hanselman.com/blog/StreamingDiagnosticsTraceLoggingFromTheAzureCommandLinePlusGlimpse.aspx

The logs can be downloaded and analyzed locally. I am not sure if the tool that supported webroles works for this too.


  • Marked as answer by KarenV86 Monday, August 31, 2015 9:32 AM
August 31st, 2015 9:12am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics