title: How to send the tracing output to a file in the file system?
body: <p>I have added the following code to my web.config file:</p>
  
  <pre><code>&lt;system.diagnostics&gt;
      &lt;trace autoflush="false" indentsize="4" &gt;
        &lt;listeners&gt;
          &lt;add name="myListener"
            type="System.Diagnostics.TextWriterTraceListener"
            initializeData="d:\debugging.txt" /&gt;
          &lt;remove name="Default"&gt;&lt;/remove&gt;
        &lt;/listeners&gt;
      &lt;/trace&gt;
    &lt;/system.diagnostics&gt;
  </code></pre>
  
  <p>And I have written this line for sending trace output:</p>
  
  <pre><code>System.Diagnostics.Trace.Write(sID + " tracing id");
  </code></pre>
  
  <p>But, I can not see any "debugging.txt" file created on my d: drive and there is no trace output.</p>
  
  <p>Am I missing something ?</p>