title: Where to store an application log file on Windows
body: <p>Where would be the best "standard" place to put an application's debug log file in a Windows user environment?</p>
  
  <p>In this particular case, it is an application that is run once and could go wrong.  It will be run by system administrator types who may need to inspect the log after the application is run.  Everytime the application is run, a new log file is created.</p>
  
  <p>Options that have been floated so far include:</p>
  
  <ol>
  <li>The program directory</li>
  <li>The user's desktop</li>
  <li>The user's local Application Data directory.</li>
  </ol>
  
  <p>I have my favourite, but I wondered what the SO consensus was.</p>
  
  <p>Note: this is similar to <a href="https://stackoverflow.com/questions/465785/best-location-for-exception-log-files-windows">this question</a>, but we're dealing with an application that's only likely to be run once by one user. </p>