spiegel_podman/pkg/api/handlers
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
..
compat Set syslog for exit commands on log-level=debug 2020-06-24 13:09:34 -04:00
libpod APIv2: Return StatusCreated from volume creation 2020-06-24 15:08:20 +10:00
swagger add {generate,play} kube 2020-05-06 17:08:22 +02:00
utils Merge pull request #6557 from rhatdan/lint 2020-06-15 09:19:40 -04:00
decoder.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
types.go Add some additional fields to imageinspect 2020-06-13 08:54:20 -04:00