moby--moby/libcontainerd/supervisor
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
..
remote_daemon.go libcontainerd/supervisor: don't write log-level to config file 2022-08-11 14:11:06 +02:00
remote_daemon_linux.go libcontainerd/supervisor: platformCleanup(): use canonical socket address 2022-08-11 14:09:36 +02:00
remote_daemon_options.go libcontainerd/supervisor: don't write log-level to config file 2022-08-11 14:11:06 +02:00
remote_daemon_options_linux.go libcontainerd/supervisor: make supervisor adjust OOM score for containerd 2022-08-11 14:11:01 +02:00
remote_daemon_windows.go Remove 'docker-' prefix for containerd and runc binaries 2018-09-24 21:49:03 +00:00
utils_linux.go
utils_windows.go