Konubinix' opinionated web of thoughts

Get the Log of a Python Subprocess in Supervisord

Fleeting

python - Why does stdout not flush when connecting to a process that is run with supervisord? - Stack Overflow

start the base python process in an unbuffered state using the -u flag. Within the supervisord.conf file it simply becomes:

command=python -u script.py

https://stackoverflow.com/questions/15453234/why-does-stdout-not-flush-when-connecting-to-a-process-that-is-run-with-supervis