title: RoleManager.WriteToLog in Azure Development Fabric
body: <p>I'm just taking my first steps with Azure and the first thing I see in the development fabric is a bunch of console style logging windows.  So I figure that's going to be handy and decide to figure out how to write stuff there and stumble upon this:</p>
  
  <pre><code>Microsoft.ServiceHosting.ServiceRuntime.RoleManager.WriteToLog("Information", "Message);
  </code></pre>
  
  <p>Cool, except I don't see anything in the log.  Saw a post somewhere that after first install you need to reboot before this will work, so I tried that but still nothing.</p>
  
  <p>I've checked with a break point that the code is executing and I've checked the logging level in the dev fabric.</p>
  
  <p>Is this supposed to work, or am I completely off base?</p>
  
  <hr>
  
  <p>Just to add some more information about what I'm doing:</p>
  
  <ul>
  <li>Started with VS08's new project wizard for Cloud Service</li>
  <li>In the wizard added a single ASP.NET Web Role project</li>
  <li>In the Page_Load method in Default.aspx.cs I added the WriteToLog line shown above</li>
  <li>Ran the project and in the dev fabric UI, drilled down the tree to web role instance "0"</li>
  <li>Nothing in the displayed log except some role instance start up messages followed by a bunch of health status messages.</li>
  <li>Tried reloading the page a few times, the breakpoint in Page_Load gets hit but nothing in the log.</li>
  <li>Logging Level is set to information, and the other events are level information so I don't think it's a logging level issue.</li>
  </ul>