On Fri, Dec 23, 2022 at 2:02 AM Mark Sapiro <mark@msapiro.net> wrote:
On 12/22/22 13:57, Odhiambo Washington wrote:
WSGIDaemonProcess mailman-web display-name=mailman-web maximum-requests=1000 umask=0002 user=mailman group=mailman
python-path=/opt/mailman/mm/venv/lib/python3.9/site-packages:/opt/mailman/mm/venv/lib/python3.9
python-home=/opt/mailman/mm/venv home=/opt/mailman/mm/var WSGIRestrictSignal Off
Add /opt/mailman/mm to python_path. I.e.
python-path=/opt/mailman/mm:/opt/mailman/mm/venv/lib/python3.9/site-packages:/opt/mailman/mm/venv/lib/python3.9
Now working as expected.
With this, my questions about running MM3 with either gunicorn or mod_wsgi are bound to get reduced to an acceptable level.
There is just one more thing - I have this in settings.py: LOGGING['handlers']['file']['filename'] = '/opt/mailman/mm/var/logs/mailmanweb.log'
However, the referenced file is ever empty. At what point is it supposed to record anything?
Thank you very much and may you enjoy your festive season - the one we call Christmas.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)