I am using runnit to run a python process on ubuntu. I redirect the output of the program to a log file.
exec /usr/bin/python /home/ubuntu/workspace/monitor.py >> /tmp/monitor.out 2>&1
I then use
tail -f /tmp/monitor.out
to have a look at what is going on.
Howerver, it output is not streaming. Always behind, some times by a few minutes. Its not a lot of output.
How do I get realtime streaming?