I have been developing an MVC 4.0 web application that is hosted in Azure platform. In this first part of 2-blog post series, I will talk about leveraging built-in logging and tracing features of Windows Azure platform.
Use of built-in diagnostic features requires 3 main steps:
Step 1: Activation of built-in Windows Azure diagnostics features
Please see the image on the right a reference.
Now, you should be able to see the deployment and ftp account on the dashboard as seen in the 2nd image on the right.
Step 2: Downloading and analysis of log files
Once Step 1 completed, Windows Azure starts logging diagnostics events for the site. To see them, you need to create an FTP deployment account and FTP program to download the log files as detailed below:
Step 3: Analysis of diagnostic logs
In Step 1, we talked about diagnostic features comes with Windows Azure for web sites:
Partial image from the tracing document for this demo.
Windows Azure comes with built-in diagnostic features that you can utilize to monitor your applications running on Windows Azure. The diagnostic features can be useful to report page-related statistics (server logs), and to diagnose errors (error details) and performance issues (traces) in high-level. For detailed logging, you need to come up with your custom solution.
Happy clouding! and stay tune for my next post on how-to write custom messages to logs in Windows Azure web sites.