Skip to content

Commit 99e55b4

Browse files
committed
change log level
1 parent 2fc15a9 commit 99e55b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/value_log.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ impl ValueLog {
346346
// IMPORTANT: Only allow 1 rollover or GC at any given time
347347
let _guard = self.rollover_guard.lock().expect("lock is poisoned");
348348

349-
log::trace!("--- GC report for vLog @ {:?} ---", self.path);
349+
log::info!("--- GC report for vLog @ {:?} ---", self.path);
350350

351351
let mut size_map = BTreeMap::<SegmentId, SegmentCounter>::new();
352352

@@ -386,7 +386,7 @@ impl ValueLog {
386386
let space_amp = total_bytes as f64 / used_size as f64;
387387
let stale_ratio = stale_bytes as f64 / total_bytes as f64;
388388

389-
log::trace!(
389+
log::info!(
390390
"Blob file #{id} has {}/{} stale MiB ({:.1}% stale, {stale_items}/{total_items} items) - space amp: {space_amp})",
391391
stale_bytes / 1_024 / 1_024,
392392
total_bytes / 1_024 / 1_024,
@@ -417,7 +417,7 @@ impl ValueLog {
417417
.expect("segment should exist");
418418

419419
if !size_map.contains_key(id) {
420-
log::trace!(
420+
log::info!(
421421
"Blob file #{id} has no incoming references - can be dropped, freeing {} KiB on disk (userdata={} MiB)",
422422
segment.stats.total_bytes / 1_024,
423423
segment.stats.total_uncompressed_bytes / 1_024/ 1_024
@@ -426,7 +426,7 @@ impl ValueLog {
426426
}
427427
}
428428

429-
log::trace!("--- GC report done ---");
429+
log::info!("--- GC report done ---");
430430

431431
Ok(())
432432
}

0 commit comments

Comments
 (0)