Using a configuration file with Windows Azure Diagnostics
Windows Azure Diagnostics stores the diagnostics configuration for an instance as an XML file in a blob, named for the instance, in a container named wad-control-container
in the Windows Azure Storage Service account configured for diagnostics. When an instance is started for the first time, a default instance configuration is inserted in the container. This can be modified programmatically, either local to the instance or remotely using methods in the Windows Azure SDK.
Local configuration typically occurs in the OnStart()
method for the role and is used to further specify the information captured by Windows Azure Diagnostics and the schedule with which diagnostic data is persisted in the Windows Azure Storage Service. By default, some diagnostics data is captured, but none of it is persisted to the storage service. Remote configuration can also be used to modify the information captured. However, it is used normally to initiate an...