spiegel_podman/pkg/api
Matthew Heon 2ad9dcc07e 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-25 15:42:32 -04:00
..
handlers Set syslog for exit commands on log-level=debug 2020-06-25 15:42:32 -04:00
server APIv2:fix: Remove /json from compat network EPs 2020-06-24 14:44:12 -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