At present it's not possible to ship properly labeled logs when using
podman and tools like podman-compose. Container labels are lost which
makes it much harder to understand where a particular log line
originated from. Log processing and analysis is significantly more
inconvenient as well, because it's hard to group related logs, e.g.
coming from the same compose project.
This commit implements the parts necessary to annotate log messages with
container labels. Each label and value pair is specified via --log-label
LABEL=VALUE arguments.
Co-authored-by: OZoneGuy <oalkersh@protonmail.com>
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
The version of go-md2man is quite old, and is not really need to be in
this repository. It is only used by `make docs` which does not make
sense to run in CI, as we don't check the resulting man page.
PS if needed, it is easy to install by this one-liner:
go install github.com/cpuguy83/go-md2man/v2@latest
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>