Is there a form of:
supervisorctl logs myservice
Which would just be like a "tail -f" to the stdout or stderr file read from config.
supervisorctl tail -5000 procname stderr will read the last 5000 bytes from the stderr log for procname.
supervisorctl tail -f procname stdout will continuously read the stdout log for procname.
See help tail for other examples.
Thanks, I hadn't seen tail (I've only scanned the args), but I see it now under actions. Perhaps logs could be added as an alias? Just a suggestion. Very happy that I can use it.
IIUC it's tail -f not tail, otherwise doesn't seem to work
Most helpful comment
supervisorctl tail -5000 procname stderrwill read the last 5000 bytes from the stderr log for procname.supervisorctl tail -f procname stdoutwill continuously read the stdout log for procname.See
help tailfor other examples.