spiegel_podman/pkg/bindings
Daniel J Walsh f00cc25a7c
Drop default log-level from error to warn
Our users are missing certain warning messages that would
make debugging issues with Podman easier.

For example if you do a podman build with a Containerfile
that contains the SHELL directive, the Derective is silently
ignored.

If you run with the log-level warn you get a warning message explainging
what happened.

$ podman build --no-cache -f /tmp/Containerfile1 /tmp/
STEP 1: FROM ubi8
STEP 2: SHELL ["/bin/bash", "-c"]
STEP 3: COMMIT
--> 7a207be102a
7a207be102aa8993eceb32802e6ceb9d2603ceed9dee0fee341df63e6300882e

$ podman --log-level=warn build --no-cache -f /tmp/Containerfile1 /tmp/
STEP 1: FROM ubi8
STEP 2: SHELL ["/bin/bash", "-c"]
STEP 3: COMMIT
WARN[0000] SHELL is not supported for OCI image format, [/bin/bash -c] will be ignored. Must use `docker` format
--> 7bd96fd25b9
7bd96fd25b9f755d8a045e31187e406cf889dcf3799357ec906e90767613e95f

These messages will no longer be lost, when we default to WARNing level.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-03 06:28:09 -05:00
..
containers Drop default log-level from error to warn 2020-12-03 06:28:09 -05:00
generate APIv2 add generate systemd endpoint 2020-09-02 22:06:19 +02:00
images Podman-remote build is getting ID twice 2020-11-14 06:25:29 -05:00
manifests Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
network podman network label support 2020-11-28 18:35:43 +01:00
play Merge pull request #8363 from AlbanBedel/play-kube-create-only 2020-11-17 22:40:28 +01:00
pods Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
system Refactor version handling in cmd tree 2020-09-18 15:13:58 -07:00
test Fix potential race condition in testing 2020-12-01 14:11:04 -05:00
volumes Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
bindings.go Refactor version handling in cmd tree 2020-09-18 15:13:58 -07:00
connection.go Change bindings to stop two API calls for ping 2020-12-02 16:14:53 -07:00
errors.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00