Antonio Beamud Montero wrote:
> Hi all:
> I've a problem with supervisor when I'm running my app.
> If I run it in the console, all works fine, all the output is printed
> out perfectly, but running under supervisor, always the last 15-20
> lines, not are flushed, until the next execution, and I can't see if the
> process works ok or not...
> 
> Can I force the flush of the output buffers in any way?

You might be able to run the process in "unbuffered" mode.  The mechanism to do
this is different for each subprocess, but if e.g. your subprocess was a Python
program, you might do:

python -u mysubprocess.py

Instead of:

python mysubprocess.py




_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to