spiegel_podman/pkg/specgen/generate
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
..
config_linux.go specgen: fix segfault 2020-05-27 14:52:17 -04:00
config_linux_cgo.go podman: add support for --rootfs 2020-04-24 12:56:20 +02:00
config_linux_nocgo.go Attempt to turn on build_without_cgo tests 2020-05-22 12:56:19 -04:00
container.go Re-add resource limit warnings to Specgen 2020-06-16 17:32:01 -04:00
container_create.go Set syslog for exit commands on log-level=debug 2020-06-24 13:09:34 -04:00
namespaces.go Don't ignore --user flag in rootless --userns keepid 2020-06-17 17:13:58 -04:00
oci.go Fix --init and --init-path 2020-06-16 17:37:39 +00:00
pod_create.go pod create: add --infra-conmon-pidfile 2020-06-11 11:01:13 +02:00
ports.go Rework port parsing to support --expose and -P 2020-05-04 20:57:27 -04:00
security.go Handle dropping capabilties correctly when running as non root user 2020-06-17 17:20:53 -04:00
storage.go Fix --init and --init-path 2020-06-16 17:37:39 +00:00
validate.go Re-add resource limit warnings to Specgen 2020-06-16 17:32:01 -04:00