title: How to enable uWSGI logging to a file?
body: <p>I have just installed my first uWSGI server on EC2 Ubuntu 14.04 LTS, using the following configuration:</p>
  
  <pre class="lang-ini prettyprint-override"><code>[uwsgi]
  http-socket    = :9001
  plugin    = python
  wsgi-file = foo.wsgi
  chdir = /home/bar
  process   = 3
  </code></pre>
  
  <p>The uWSGI container works fine, but has no logging. Following the manual, I've added the following:</p>
  
  <pre><code>logger = file:/tmp/errlog
  </code></pre>
  
  <p>But restarting (using <code>sudo service uwsgi restart</code>) did not work - the server would not start with this configuration.</p>
  
  <p>Any idea what's missing from my <code>ini</code> configuration?</p>