title: System.Diagnostics.Tracing with Azure Website
body: <p>I want to use tracing with Windows Azure but I am having difficulty setting it up to work correctly.</p>
  
  <p>Firstly, I have my <code>Trace.Write</code> commands embedded within my code, like this:</p>
  
  <pre><code>private static void DefineBallistics(MigraDoc.DocumentObjectModel.Document document, Motivation motivation)
          {
              Trace.Write("Defining Pdf Motivation ballistics.");
  
              Section section = document.AddSection();
              section.AddParagraph("Firearm information and ballistics", "Heading1");
              foreach (FileItem fi in motivation.Calibre.FileItems)
              {
                  InsertImageOrPdf(document, section, fi);
              }
          }
  </code></pre>
  
  <p>Then, I have application logging enabled on Windows Azure website configuration section as follows:</p>
  
  <p><img src="https://i.stack.imgur.com/SLCx1.png" alt="enter image description here"></p>
  
  <p>So, if I run the code, it seems as if no tracing information is being captured.  In fact, the console window does not display any streaming tracing log information and when I download the log files, there is no application log files contained within the downloaded zip file.</p>
  
  <p><img src="https://i.stack.imgur.com/rDSMt.png" alt="enter image description here"></p>
  
  <p>What am I missing?</p>