spiegel_podman/pkg/specgen
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
..
generate Set syslog for exit commands on log-level=debug 2020-06-24 13:09:34 -04:00
config_unsupported.go Fix the pkg/specgen/SpecGenerator.getSeccompConfig stub 2020-03-20 23:25:15 +01:00
container_validate.go Fix conflicts between privileged and other flags 2020-06-22 16:08:09 -04:00
namespaces.go Start testing with cross compilation 2020-05-21 11:58:15 -04:00
pod_validate.go Fixup issues found by golint 2020-06-10 05:49:41 -04:00
podspecgen.go pod create: add --infra-conmon-pidfile 2020-06-11 11:01:13 +02:00
specgen.go Set syslog for exit commands on log-level=debug 2020-06-24 13:09:34 -04:00