>> /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> >> > > > You can add <logto> option in each of the vassal config to point to a > different file.
I was just thinking about the same thing, and I was hoping to just set the UWSGI_VASSAL_LOGTO = %d/run/uwsgi.log environment variable in the emperor. Unfortunately this didn't work, the %d was not expanded in the vassals. -- дамјан _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
