Supervisor: display, prefix and color output from child programs
+1
−0
I want to run programs foo
and bar
with supervisord. Both programs produce a continuous stream of occasional output (stdout and stderr) as they run.
When I run supervisor with nodaemon=true
, I want to see output like this:
some message from supervisor
another supervisor message
FOO: a message from foo
BAR: message from bar
yet another supervisor message
FOO: another foo message
I also want the foo and bar lines to be highlighted with a color. Is this possible?
0 comment threads