mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-17 11:27:33 +00:00
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> |
||
|---|---|---|
| .. | ||
| changes.go | ||
| containers.go | ||
| containers_archive.go | ||
| containers_attach.go | ||
| containers_create.go | ||
| containers_export.go | ||
| containers_logs.go | ||
| containers_pause.go | ||
| containers_prune.go | ||
| containers_restart.go | ||
| containers_start.go | ||
| containers_stats.go | ||
| containers_stop.go | ||
| containers_top.go | ||
| containers_unpause.go | ||
| events.go | ||
| exec.go | ||
| images.go | ||
| images_build.go | ||
| images_history.go | ||
| images_push.go | ||
| images_remove.go | ||
| images_save.go | ||
| images_search.go | ||
| images_tag.go | ||
| info.go | ||
| networks.go | ||
| ping.go | ||
| resize.go | ||
| swagger.go | ||
| system.go | ||
| types.go | ||
| unsupported.go | ||
| version.go | ||