title: Which "diagnostics.wadcfg" is used?
body: <p>I am learning to configure diagnostics in microsoft azure. In order to configure the diagnostics we can use visual studio as suggested in this <a href="http://msdn.microsoft.com/library/azure/dn186185.aspx" rel="nofollow noreferrer">MSDN</a> article. And whatever changes we do all gets saved to the "diagnostics.wadcfg" file present under role in the cloud project.</p>
  
  <p>We can also add our own "diagnostics.wadcfg" file to the root folder of our worker role also. And add configuration setting to it. As suggested in these articles <a href="http://blogs.msdn.com/b/davidhardin/archive/2011/03/29/configuring-wad-via-the-diagnostics-wadcfg-config-file.aspx" rel="nofollow noreferrer">[1]</a> and <a href="http://blog.elastacloud.com/2011/02/13/file-based-diagnostics-config-with-intellisense-in-azure-sdk-1-3/" rel="nofollow noreferrer">[2]</a>.</p>
  
  <p><img src="https://i.stack.imgur.com/4WCwV.png" alt="enter image description here"></p>
  
  <p>Can somebody tell me whats the difference between "diagnostics.wadcfg" files present in both the places and there precedence.</p>