Remove unnecessary logs
Some info-level logs are removed as they are not quite useful for
debugging. In addition, logs from the `disk` crate are suppressed to
reduce log spamming (they also are not useful for debugging) as below.
I crosvm : disk size 115,
I crosvm : Disk image file is hosted onf2f52010
I crosvm : disk size 20480,
I crosvm : Disk image file is hosted on file system type f2f52010
Bug: 251751405
Test: N/A
Change-Id: Ibae5681aee6880a8de38eede550ca8556392a24c
diff --git a/virtualizationservice/src/crosvm.rs b/virtualizationservice/src/crosvm.rs
index 749970c..f3abee0 100644
--- a/virtualizationservice/src/crosvm.rs
+++ b/virtualizationservice/src/crosvm.rs
@@ -451,6 +451,10 @@
// TODO(qwandor): Remove --disable-sandbox.
command
.arg("--extended-status")
+ // Configure the logger for the crosvm process to silence logs from the disk crate which
+ // don't provide much information to us (but do spamming us).
+ .arg("--log-level")
+ .arg("info,disk=off")
.arg("run")
.arg("--disable-sandbox")
.arg("--no-balloon")