spiegel_podman/cmd/podman/common
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
..
completion.go Drop default log-level from error to warn 2020-12-03 06:28:09 -05:00
create.go Add support for --platform 2020-11-26 06:08:11 -05:00
create_opts.go add commas between mount options 2020-12-02 10:19:21 -06:00
createparse.go Allow containers to --restart on-failure with --rm 2020-11-20 13:55:19 -05:00
default.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
diffChanges.go Refactor podman to use c/common/pkg/report 2020-10-21 08:16:52 -07:00
netflags.go Revert "Allow multiple --network flags for podman run/create" 2020-11-30 18:10:26 +01:00
ports.go V2 enable ps tests 2020-04-29 15:51:37 -07:00
specgen.go Add mask and unmask option to --security-opt 2020-12-02 16:07:18 -05:00
util.go Remove some more excessive wrapping and stuttering 2020-11-17 09:19:22 -05:00
volumes.go Do not validate the volume source path in specgen 2020-11-26 12:55:33 +01:00