Supervisor / supervisor

Supervisor process control system for Unix (supervisord)
http://supervisord.org
Other
8.46k stars 1.24k forks source link

supervisorctl merge stdout+stderr to save time #1615

Closed mrx23dot closed 9 months ago

mrx23dot commented 9 months ago

A new parameter would be nice like that prints stdout (possibly longer) first, then stderr (more important) last.

supervisorctl tail xxx both

instead of two steps

supervisorctl tail xxx stdout
supervisorctl tail xxx stderr

Unless there is a way to capture the original intverleaved one

Would save a few seconds everytime we need to investigate.

-tail will be a bit trickier.

A nother small idea, .rstrip() the output when printing to console, since default output is only a few lines long we don't want to waste it on trailing new lines.

mrx23dot commented 9 months ago

But omg supervisord is so much nicer than systemd! Thank you!

mnaberez commented 9 months ago

Duplicate of #246 (Title is "multiple processes" but comments request merged stdout/stderr)