moby/libcontainerd
Sebastiaan van Stijn b6b0b0a05f
libcontainerd/supervisor: don't write log-level to config file
the `--log-level` flag overrides whatever is in the containerd configuration file;
f033f6ff85/cmd/containerd/command/main.go (L339-L352)

Given that we set that flag when we start the containerd binary, there is no need
to write it both to the generated config-file and pass it as flag.

This patch also slightly changes the behavior; as both dockerd and containerd use
"info" as default log-level, don't set the log-level if it's the default.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-11 14:11:06 +02:00
..
local gofmt GoDoc comments with go1.19 2022-07-08 19:56:23 +02:00
queue bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
remote fix formatting of "nolint" tags for go1.19 2022-07-13 22:31:53 +02:00
supervisor libcontainerd/supervisor: don't write log-level to config file 2022-08-11 14:11:06 +02:00
types libcontainerd: SignalProcess(): accept syscall.Signal 2022-05-05 00:53:49 +02:00
libcontainerd_linux.go Configure shims from runtime config 2020-07-13 14:18:02 -07:00
libcontainerd_windows.go Remove unused useShimV2() 2020-07-15 14:28:48 +02:00