I'm using supervisor in docker images when I have to run multiple services in one image e.g. postfix and other mail services.
When I redirect the stdout/stderr from all services to supervisor and supervisor does also log to stdout/stderr I would prefer to have a prefix/label infront of the actual log output on the console to know which log is coming from which service. I can't find any config setting for this but maybe you know a way.
Docker – How to add a prefix / label for services to supervisor stdout output
dockerloggingsupervisord
Best Answer
@flocki Thanks for your great answer! Below a slightly more complete example:
prefix-log: