spiegel_podman/pkg/api
Matthew Heon 18300573f9 Set syslog for exit commands on log-level=debug
We have a flag, --syslog, for telling logrus to log to syslog as
well as to the terminal. Previously, this flag also set the exit
command for containers to use `--syslog` (otherwise all output
from exit commands is lost). I attempted to replicate this with
Podman v2.0, but quickly ran into circular import hell (the flag
is defined in cmd/podman, I needed it in cmd/podman/containers,
cmd/podman imports cmd/podman/containers already, etc). Instead,
let's just set the syslog flag automatically on
`--log-level=debug` so we log exit commands automatically when
debug-level logs are requested. This is consistent with Conmon
and seems to make sense.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-06-24 13:09:34 -04:00
..
handlers Set syslog for exit commands on log-level=debug 2020-06-24 13:09:34 -04:00
server Merge pull request #6738 from maybe-sybr/maybe/apiv2/fix-network-compat-urls 2020-06-24 09:29:53 -04:00
types podman rmi: refactor logic 2020-04-21 08:12:25 +02:00
Makefile Rewire ListContainers for APIv2 libpod 2020-02-11 08:14:28 -06:00
tags.yaml network compatibility endpoints for API 2020-05-22 13:48:52 -05:00