Background - we've been using uwsgi since the 0.9.4 days. We have a
collection of apps running via uwsgi now. I'm looking at upgrading to
uwsgi-1.x and some of the new features which will make my life easier, like
emperor mode.
Assume I start emperor mode like this:
/usr/local/bin/uwsgi --emperor /etc/uwsgi/vassals -d /var/log/uwsgi_emp.log
For the configs I place into vassals, how do I make *each* of them log into a
different logfile ? Reasons: for some of them: the volume is large -- but
more specifically -- I need to look at the behavior of the apps individually.
An example of one such config I'm testing with:
<uwsgi>
<pythonpath>/webapps/bookimages/uwsgi</pythonpath>
<app mountpoint="/books">
<script>bookimages_wsgi</script>
</app>
<master/>
<processes>2</processes>
<socket>127.0.0.1:40002</socket>
<chdir>/webapps/bookimages</chdir>
</uwsgi>
On a similar note - I was using cgi_mode ... aka, I would start the master with
the "-c" flag. How would I continue using that? Is there a way to turn on
cgi_mode via the app config shown above (preferred)? Or should I start the
emperor with the -c flag ?
Thanks!
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi