title: logging with uwsgi (multiprocess) + flask
body: <p>I plan to run uwsgi (4 processes) with the following command</p>
  
  <pre><code>command = uwsgi
  --master --processes 4 --die-on-term
  --socket /tmp/uwsgi.sock --file run.py
  --callable app --stats /tmp/stats.socket --memory-report --post-buffering  32768
  --virtualenv &lt;virtualenv&gt; --logto2 &lt;log_path&gt;
  </code></pre>
  
  <p>I want to use StreamLogger to log to stdout and stderr.
  Now my question is: Does uwsgi multiplex log from all 4 worker processes into the log file?</p>
  
  <p>I know probably syslog is a better option and there are many other options:
  <a href="http://uwsgi-docs.readthedocs.org/en/latest/Logging.html" rel="nofollow">http://uwsgi-docs.readthedocs.org/en/latest/Logging.html</a></p>
  
  <p>But I want to start off with the stream logger if it can handle concurrent log messages from all the workers.</p>