mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-02 07:02:16 +00:00
When the kata configuration does not set log_level to debug, the containerd-shim-v2 defaults to WarnLevel, which suppresses important diagnostic information logged at Info level. Key Info-level logs that are currently hidden: - QEMU command line (qemu.go:3566) - critical for debugging VM issues - VM lifecycle events (creation, start, stop) - Device hotplug operations (VFIO, network, volumes) - Resource configuration (NUMA, memory) - QMP socket details Info level provides significantly better diagnostic data without flooding logs with excessive detail (which would occur at Debug level). This change improves troubleshooting capabilities for production deployments where debug mode is not enabled. Note: runtime-rs already defaults to Info level (see src/runtime-rs/crates/shim/src/logger.rs:13,30), so this change only affects the Go runtime. Fixes: #13260 Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>