Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log program and not only process_name #1653

Open
makovkindenis opened this issue Aug 2, 2024 · 0 comments
Open

Log program and not only process_name #1653

makovkindenis opened this issue Aug 2, 2024 · 0 comments

Comments

@makovkindenis
Copy link

makovkindenis commented Aug 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant