Supervisor / supervisor

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

Log program and not only process_name #1653

Open makovkindenis opened 3 months ago

makovkindenis commented 3 months ago

Hello With simple config like this

[program:my_program]
numprocs=2
process_name=%(process_num)02d
command=blablabla

i saw, that supervisor logs only process_name, like this

'INFO stopped: 00 (exit status 0)'

that, of course not informative. Well, it's easy to fix with

process_name=%(program)%s_%(process_num)02d

but in this case web interface will display Name like _my_program:my_program00, and it's look weird.

Is it possible to logs not only process_name, but program too, like web-interface do (it forming name likew [_program:processname])?

Thanks a lot.