Skip to content

Commit d36cb19

Browse files
committed
libvirt: Downgrade some duplicate logging
We were too verbose by default here. Signed-off-by: Colin Walters <[email protected]>
1 parent 99354ee commit d36cb19

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

crates/kit/src/cache_metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ pub fn check_cached_disk(
213213

214214
let matches = expected_hash == cached_hash;
215215
if matches {
216-
tracing::info!(
216+
tracing::debug!(
217217
"Found cached disk image at {:?} matching cache hash {}",
218218
path,
219219
expected_hash

crates/kit/src/libvirt/base_disks.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ pub fn find_or_create_base_disk(
4747
)?
4848
.is_ok()
4949
{
50-
info!("Found cached base disk: {:?}", base_disk_path);
5150
return Ok(base_disk_path);
5251
} else {
5352
info!("Base disk exists but metadata doesn't match, will recreate");
@@ -238,7 +237,7 @@ pub fn clone_from_base(
238237
.with_context(|| format!("Failed to remove disk file: {:?}", vm_disk_path))?;
239238
}
240239

241-
info!(
240+
debug!(
242241
"Creating VM disk with backing file: {:?} -> {:?}",
243242
base_disk_path, vm_disk_path
244243
);
@@ -279,7 +278,7 @@ pub fn clone_from_base(
279278
));
280279
}
281280

282-
info!(
281+
debug!(
283282
"Successfully created VM disk with backing file: {:?}",
284283
vm_disk_path
285284
);

0 commit comments

Comments
 (0)