From 876354fae644ebd6cf1f103843a25e9f24f396ec Mon Sep 17 00:00:00 2001 From: lottopy Date: Sat, 10 Oct 2026 15:02:33 -0400 Subject: [PATCH] Quieter gunicorn logs, requirements refreshed for python 3.12 and gunicorn 25 --- lottopy_site/gunicorn.conf.py | 2 +- lottopy_site/startup.sh | 2 +- requirements.txt | 128 +++++++++++++++------------------- 3 files changed, 59 insertions(+), 73 deletions(-) diff --git a/lottopy_site/gunicorn.conf.py b/lottopy_site/gunicorn.conf.py index 22ab8697..f7296195 100755 --- a/lottopy_site/gunicorn.conf.py +++ b/lottopy_site/gunicorn.conf.py @@ -9,5 +9,5 @@ errorlog = "./gunicorn.error.log" # Whether to send Django output to the error log capture_output = True # How verbose the Gunicorn error logs should be -loglevel = "debug" +loglevel = "info" timeout = 300 diff --git a/lottopy_site/startup.sh b/lottopy_site/startup.sh index dbd08e2c..7b586adb 100755 --- a/lottopy_site/startup.sh +++ b/lottopy_site/startup.sh @@ -4,7 +4,7 @@ source /home/williedynamite/django_lottopy/django_lottopy/bin/activate export DJANGO_DEBUG=False source /home/williedynamite/django_lottopy/.env #export TMPDIR='/home/williedynamite/django_lottopy/tmp' -gunicorn -c /home/williedynamite/django_lottopy/lottopy_site/gunicorn.conf.py --bind unix:/home/williedynamite/django_lottopy/run/gunicorn.sock --log-level debug --timeout 600 lottopy_site.wsgi:application --reload +gunicorn -c /home/williedynamite/django_lottopy/lottopy_site/gunicorn.conf.py --bind unix:/home/williedynamite/django_lottopy/run/gunicorn.sock --log-level info --timeout 600 lottopy_site.wsgi:application --reload #redis-server & #PYTHONPATH=`pwd`/.. gunicorn --bind 0.0.0.0:8000 lottopy_site.wsgi:applicationDebug=True diff --git a/requirements.txt b/requirements.txt index ed3fe58a..f9d6eee4 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,74 +1,60 @@ -amqp==5.1.1 +amqp==5.4.1 appdirs==1.4.4 -asgiref==3.4.1 -async-timeout==4.0.2 -attrs==21.4.0 -billiard==3.6.4.0 -celery==5.2.7 -Cerberus==1.3.4 -certifi==2021.10.8 -charset-normalizer==2.0.9 -click==8.1.3 -click-didyoumean==0.3.0 -click-plugins==1.1.1 -click-repl==0.2.0 -cloud-init==22.2.2 -configobj==5.0.6 -contextlib2==21.6.0 -Deprecated==1.2.13 -distlib==0.3.4 -Django==4.0 -django-autoslug==1.9.8 -django-ckeditor==6.4.2 -django-cleanup==6.0.0 -django-crispy-forms==1.14.0 -django-js-asset==2.0.0 -et-xmlfile==1.1.0 -fail2ban==0.11.2 -filelock==3.7.1 -fontawesomefree==6.1.1 -gunicorn==20.1.0 -idna==3.3 -iotop==0.6 -Jinja2==3.0.3 -jsonpatch==1.32 -jsonpointer==2.1 -jsonschema==4.5.1 -kombu==5.2.4 -lxml==4.7.1 -MarkupSafe==2.1.1 -more-itertools==8.13.0 -netifaces==0.11.0 -numpy==1.22.3 -openpyxl==3.0.9 -ordered-set==4.0.2 -packaging==21.3 -pandas==1.3.2 -pep517==0.12.0 -platformdirs==2.5.2 -prompt-toolkit==3.0.29 -psycopg2==2.8.6 -Pygments==2.11.2 -pyparsing==3.0.9 -pyrsistent==0.18.0 -python-dateutil==2.8.2 -pytz==2021.3 -PyYAML==6.0 -redis==4.3.1 -requests==2.26.0 -retrying==1.3.3 -sheet2dict==0.1.1 -six==1.16.0 -sqlparse==0.4.2 -supervisor==4.2.4 +asgiref==3.12.1 +async-timeout==5.0.1 +billiard==4.3.1 +celery==5.6.3 +Cerberus==1.3.8 +certifi==2026.7.22 +charset-normalizer==3.5.2 +click==8.5.0 +click-didyoumean==0.3.1 +click-plugins==1.1.1.2 +click-repl==0.4.1 +crispy-bootstrap4==2026.2 +Deprecated==1.3.1 +Django==5.2.12 +django-autoslug==1.9.9 +django-ckeditor==6.7.3 +django-cleanup==9.0.0 +django-cors-headers==4.9.0 +django-crispy-forms==2.7 +django-excel-base==1.0.7 +django-excel-response2==3.0.6 +django-js-asset==4.2.0 +django-six==1.0.5 +et_xmlfile==2.0.0 +excel-base==1.0.4 +fontawesomefree==6.6.0 +gunicorn==25.3.0 +idna==3.20 +isoweek==1.3.3 +kombu==5.6.2 +lxml==6.1.3 +openpyxl==3.1.5 +packaging==26.3 +prompt_toolkit==3.0.53 +pyparsing==3.3.3 +python-dateutil==2.9.0.post0 +pytz==2026.5 +redis==8.1.0 +requests==2.34.2 +screen==1.0.1 +setuptools==80.10.2 +sheet2dict==0.1.5 +six==1.17.0 +sqlparse==0.6.0 +TimeConvert==3.0.13 toml==0.10.2 -tomli==2.0.1 -toolz==0.11.2 -ufw==0.36.1 +toolz==1.2.0 +typing_extensions==4.16.0 +tzdata==2026.5 +tzlocal==5.4.4 ulid-py==1.1.0 -urllib3==1.26.7 -vine==5.0.0 -virtualenv==20.14.1 -wcwidth==0.2.5 -whitenoise==6.2.0 -wrapt==1.14.1 +urllib3==2.8.0 +vine==5.1.0 +wcwidth==0.9.2 +wheel==0.48.0 +whitenoise==6.12.0 +wrapt==2.5.0 +xlwt==1.3.0