title: How to log messages to the Windows Azure Storage?
body: <p>I'm trying to accomplish a very simple task for hours without success. <strong>I just want to log messages to the Windows Azure Storage so I can analyze it later</strong>.</p>
  
  <p>What I've tried to far:</p>
  
  <p>I've enabled Diagnostics like this:</p>
  
  <p><img src="https://i.stack.imgur.com/s14PN.png" alt="enter image description here"></p>
  
  <p>After that I'm putting this line in my <code>Application_Start</code>:</p>
  
  <pre><code>Trace.TraceError("My Error");
  </code></pre>
  
  <p>I expect it to be logged to the Windows Azure Storage. But it's not. Then I read <a href="http://msdn.microsoft.com/en-us/library/windowsazure/hh508983.aspx" rel="nofollow noreferrer">here</a> that I should first configure the <code>DiagnosticMonitor</code> class first. But I seriously think this class is deprecated.. because it's in the assembly <code>Microsoft.WindowsAzure.StorageClient</code> which is version 1.7 (the others are 1.8 or 2.0) and when I add a reference to it, all my <code>CloudStorageAccount</code> references become ambiguous because this assembly has classes that I already have with the other assembly <code>Microsoft.WindowsAzure.Storage</code> (newer). I really think I shouldn't add a reference to <code>StorageClient</code>.</p>
  
  <p>Briefly.. I'm reading a lot of documents and going nowhere.</p>
  
  <p>Can you please.. Tell me exactly what do do? I'd appreciate so much. Thanks.</p>
  
  <p>PS: I'm using VS 2012 with Windows Azure Tools October 2012</p>