title: Debian: How can I write error messages to file?
body: <p>I wrote a websocket server with go, running on Debian. Now I have a very long panic message and I want to write it to a file</p>
  
  <pre><code>./server &gt; err
  </code></pre>
  
  <p>writes only the normal output. Error messages still appear on stdout.</p>
  
  <p>How can I redirect them?</p>