kata-containers / kata-containers

Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/
Apache License 2.0
5.12k stars 1.01k forks source link

containerd-shim-kata-v2 log level should set to info when containerd do not set log level to debug #8701

Open liangxianlong opened 6 months ago

liangxianlong commented 6 months ago

Which feature do you think can be improved?

https://github.com/kata-containers/kata-containers/commit/51d7c23e418f9c86eb4d737d2c8f6ece13e2ee70 This commit set containerd-shim-kata-v2 log level to warn when containerd do not set log level to debug. How can it be improved?

Setting the log level to info can better locate kata bugs.

liubocflt commented 6 months ago

+1 for this, right now, kata-clh doesn't provide necessary logs in terms of kata pods.