From c22a2a779edb285797b4b0a7b6297181f2165c05 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 27 Nov 2013 09:09:45 +0100 Subject: [PATCH] redirect apache/wsgi output flow to /var/log/apache2/myslice* --- apache/myslice.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apache/myslice.conf b/apache/myslice.conf index c994af36..8ee84d0f 100644 --- a/apache/myslice.conf +++ b/apache/myslice.conf @@ -1,6 +1,12 @@ # xxx it might be smarter to install wsgi.py in some other location # so we don't have to hard-wire these paths here +# xxx it might also be helpful to set up a specific log channel for this +# e.g. in /var/log/myslice.log + WSGIDaemonProcess myslice processes=2 threads=25 + WSGIProcessGroup myslice + CustomLog ${APACHE_LOG_DIR}/myslice-access.log common + ErrorLog ${APACHE_LOG_DIR}/myslice-error.log WSGIScriptAlias / /usr/lib/python2.7/dist-packages/myslice/wsgi.py @@ -23,6 +29,10 @@ # this to be optional on that port + WSGIDaemonProcess myslice-ssl processes=2 threads=25 + WSGIProcessGroup myslice-ssl + CustomLog ${APACHE_LOG_DIR}/myslice-ssl-access.log common + ErrorLog ${APACHE_LOG_DIR}/myslice-ssl-error.log WSGIScriptAlias / /usr/lib/python2.7/dist-packages/myslice/wsgi.py -- 2.43.0