title: SPDiagnosticsService not working form sharepoint Web Application
body: <p>SPDiagnosticsService not working form sharepoint Web Application. After I call the following code I don't any message in ULS log. </p>
  
  <pre><code>SPDiagnosticsService.Local.WriteTrace(10001, new SPDiagnosticsCategory("Test", TraceSeverity.High, EventSeverity.Error), TraceSeverity.High, "Test Mesage", null);
  </code></pre>
  
  <p>However when I call the same code from a Console Application, it is able to write logs and I can see the messages in ULS log.</p>
  
  <p>How can I make it work from a Web Application?</p>