Skip to content

Commit d2a4bc5

Browse files
committed
libvirt: Downgrade some duplicate logging
We were too verbose by default here. Signed-off-by: Colin Walters <walters@verbum.org>
1 parent c0c76e2 commit d2a4bc5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub fn find_or_create_base_disk(
4747
)?
4848
.is_ok()
4949
{
50-
info!("Found cached base disk: {:?}", base_disk_path);
50+
debug!("Found cached base disk: {:?}", base_disk_path);
5151
return Ok(base_disk_path);
5252
} else {
5353
info!("Base disk exists but metadata doesn't match, will recreate");
@@ -238,7 +238,7 @@ pub fn clone_from_base(
238238
.with_context(|| format!("Failed to remove disk file: {:?}", vm_disk_path))?;
239239
}
240240

241-
info!(
241+
debug!(
242242
"Creating VM disk with backing file: {:?} -> {:?}",
243243
base_disk_path, vm_disk_path
244244
);
@@ -279,7 +279,7 @@ pub fn clone_from_base(
279279
));
280280
}
281281

282-
info!(
282+
debug!(
283283
"Successfully created VM disk with backing file: {:?}",
284284
vm_disk_path
285285
);

0 commit comments

Comments
 (0)