From 4e2bd96b84353dbd8698c57ac465f8cbbb6cedb1 Mon Sep 17 00:00:00 2001 From: Jonathan Woollett-Light Date: Mon, 9 Oct 2023 11:16:19 +0100 Subject: [PATCH] fix: `max_level_debug` Enables the `max_level_debug` feature in `log` to omit `trace` level logs at compile-time. Omits the large number of logs generated from `log_instrument::instrument` disabling by default the affect on the binary. Signed-off-by: Jonathan Woollett-Light --- src/vmm/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmm/Cargo.toml b/src/vmm/Cargo.toml index a58f0506adac..5a38518befd3 100644 --- a/src/vmm/Cargo.toml +++ b/src/vmm/Cargo.toml @@ -30,7 +30,7 @@ versionize_derive = "0.1.5" vm-allocator = "0.1.0" vm-fdt = "0.2.0" vm-superio = "0.7.0" -log = { version = "0.4.17", features = ["std", "serde"] } +log = { version = "0.4.17", features = ["std", "serde", "max_level_debug"] } aes-gcm = { version = "0.10.1", default-features = false, features = ["aes"] } base64 = "0.13.0" bincode = "1.2.1"