Supervisor: View logs conveniently with supervisorctl

Created on 28 Jan 2018  路  3Comments  路  Source: Supervisor/supervisor

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.

question

Most helpful comment

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.

All 3 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ivan1986 picture ivan1986  路  49Comments

srwilson picture srwilson  路  25Comments

ido50 picture ido50  路  95Comments

flaugher picture flaugher  路  30Comments

jvanasco picture jvanasco  路  46Comments