title: Change logging directory in Google glog
body: <p>How can I change the output directory in Google glog?</p>
  
  <p>I only found <code>google::SetLogDestination(google::LogSeverity, const char* path)</code></p>
  
  <p>tried it with:</p>
  
  <pre><code>google::SetLogDestination(ERROR, "C:\\log\\error.log);
  google::InitGoogleLogging("Test");  
  
  LOG(ERROR) &lt;&lt; "TEST";
  </code></pre>
  
  <p>but nothing was written!</p>
  
  <p>Btw.: if you suggest another lightweight, easy to use and thread safe library please let me know!</p>
  
  <p>Thx for any help!</p>