Supervisor/supervisor

Log program and not only process_name

Opened this issue · 0 comments

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_program_00, 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:process_name])?

Thanks a lot.