Accessing log while running with gunicorn

15 views
Skip to first unread message

Moh. Sarip Hidayat

unread,
Jul 31, 2025, 7:55:53 PMJul 31
to Jam.py Users Mailing List
Hello.

When running the jam via `python3 server.py` it will show something like this, in which we can use it for debugging server modules.
image.png
I need to run the jam via gunicorn but still need access to these outputs.

Running `gunicorn --log-level debug --log-file gunicorn.log --capture-output wsgi` only shows logs from gunicorn, not from jam.

How should I set up the gunicorn and access the jam backend log?

Thank you.

Best Regards,
Moh. Sarip Hidayat
Visit my profile website at musahi0128.github.io

Dean D. Babic

unread,
Jul 31, 2025, 11:48:46 PMJul 31
to Jam.py Users Mailing List
Is this from here?

Other than that no idea. v5?

Moh. Sarip Hidayat

unread,
Aug 1, 2025, 2:06:32 AMAug 1
to Jam.py Users Mailing List
Nope, taking those parameters from gunicorn documentation.

> Other than that no idea. v5?
Correct, I'm on v5.

And I discover this will do for me:  `gunicorn --bind 0.0.0.0:8203 --log-level debug --capture-output wsgi`


Thank you.

Best Regards,
Moh. Sarip Hidayat
Visit my profile website at musahi0128.github.io
Reply all
Reply to author
Forward
0 new messages