Supervisor activates some child processes.
I configured each of them like this:
[program:XXXXX] command=/XXXXX/XXXXX directory=/XXXXXX autostart=true autorestart=true startsecs=3 startretries=10000 stdout_logfile=/XXXXXX/stdout.log stdout_logfile_maxbytes=1MB stderr_logfile=/XXXXXX/stderr.log stderr_logfile_maxbytes=1MB
One of the processes is producing a lot of screen output that I would like to read in real time during tests: 5 lines are printed every second.
They are now logged in
I thought to read
watch -0.1 tail /XXXXX/stdout.log
but I see that it is NOT updated upon receiving each line: the log content is probably cached till it reaches some predefined size before being saved to file.
I don't need to keep the stdout for future reference.
Is there a possibility to set Supervisor to continuously update
Or, even better to avoid damaging the disk on the long run, is there a possibility to print back the last X lines of
stdout WITHOUT saving it to