How to configure Gunicorn logs to output to a defined directory and rotate log files? #35202
Replies: 1 comment
-
You can configure Gunicorn in Superset's Docker Compose setup to write logs to a specific directory by setting the Gunicorn itself does not handle log rotation, so you'll need to use an external tool like To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
superset 6.0.0rc1
docker compose -f docker-compose-non-dev.yml up
Gunicorn logs are only output to standard output. I want them to be output to a specified directory and mounted to the host machine. How should I adjust this?
00:00:00 /app/.venv/bin/python3 /app/.venv/bin/gunicorn --bind 0.0.0.0:8088 --access-logfile - --error-logfile - --workers 1 --worker-class gthread --threads 20 --log-level --timeout 60 --keep-alive 2 --max-requests 0 --max-requests-jitter 0 --limit-request-line 0 --limit-request-field_size 0 superset.app:create_app()
Beta Was this translation helpful? Give feedback.
All reactions