I have several prints to log what’s going on in my app.
I can see the prints when I’m running it directly with python. However, if I launch the app using gunicorn, I only get some very first prints until some point and then I don’t get anything else but warnings or errors.
Let me explain it better with code:
The code of my app is here: https://github.com/Grasia/WikiChron/blob/master/app.py
So, I see the four prints which goes from line 196 to line 199, but I can’ see the print in number 222. Nonetheless, I can see this last print if I launch the app with
python app.py or if I replace
This is my gunicorn command:
$(gunicorn app:server -b :80 -t 600 --name=WikiChron)