Skip to content

Commit 2c126fb

Browse files
committed
Adjust debug level down during index builds
1 parent 6b334af commit 2c126fb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • timescale_vector/src/access_method

timescale_vector/src/access_method/build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,22 +306,22 @@ fn finalize_index_build<S: Storage>(
306306
}
307307
}
308308

309-
info!("write done");
309+
debug1!("write done");
310310
assert_eq!(write_stats.num_nodes, state.ntuples);
311311

312312
let writing_took = Instant::now()
313313
.duration_since(write_stats.started)
314314
.as_secs_f64();
315315
if write_stats.num_nodes > 0 {
316-
info!(
316+
debug1!(
317317
"Writing took {}s or {}s/tuple. Avg neighbors: {}",
318318
writing_took,
319319
writing_took / write_stats.num_nodes as f64,
320320
write_stats.num_neighbors / write_stats.num_nodes
321321
);
322322
}
323323
if write_stats.prune_stats.calls > 0 {
324-
info!(
324+
debug1!(
325325
"When pruned for cleanup: avg neighbors before/after {}/{} of {} prunes",
326326
write_stats.prune_stats.num_neighbors_before_prune / write_stats.prune_stats.calls,
327327
write_stats.prune_stats.num_neighbors_after_prune / write_stats.prune_stats.calls,
@@ -416,7 +416,7 @@ fn build_callback_internal<S: Storage>(
416416
state.ntuples = state.ntuples + 1;
417417

418418
if state.ntuples % 1000 == 0 {
419-
info!(
419+
debug1!(
420420
"Processed {} tuples in {}s which is {}s/tuple. Dist/tuple: Prune: {} search: {}. Stats: {:?}",
421421
state.ntuples,
422422
Instant::now().duration_since(state.started).as_secs_f64(),

0 commit comments

Comments
 (0)