Skip to content

Log program and not only process_name #1653

Open
@makovkindenis

Description

@makovkindenis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions