Skip to content

Commit 9528e66

Browse files
fix: decrease spamming logs level to trace (#2385)
* fix: decrease spamming logs level to trace * chore: add changelog entry for PR #2385 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 78eae20 commit 9528e66

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Both branches support Stwo prover opcodes (Blake2s, QM31) since v2.0.0.
1111
---
1212

1313
#### Upcoming Changes
14+
* fix: decrease spamming logs level to trace [#2385](https://github.com/starkware-libs/cairo-vm/pull/2385)
15+
1416
* feat: add `test_helpers` module (`error_utils`, `test_utils`) with `assert_mr_eq`, `load_cairo_program!` macro and `expect_*` error checkers, behind `test_utils` feature flag [#2381](https://github.com/starkware-libs/cairo-vm/pull/2381)
1517

1618
* feat(makefile,ci): add `cairo_test_suite_programs` Makefile target and CI integration to compile Cairo test suite programs before running tests [#2380](https://github.com/starkware-libs/cairo-vm/pull/2380)

vm/src/vm/runners/cairo_runner.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ use super::{
5757
cairo_pie::{self, CairoPie, CairoPieMetadata, CairoPieVersion},
5858
};
5959
use crate::types::instance_definitions::mod_instance_def::ModInstanceDef;
60-
use tracing::info;
60+
use tracing::{info, trace};
6161

6262
pub const ORDERED_BUILTIN_LIST: &[BuiltinName] = &[
6363
BuiltinName::output,
@@ -1004,15 +1004,15 @@ impl CairoRunner {
10041004
return Err(RunnerError::EndRunCalledTwice.into());
10051005
}
10061006

1007-
info!("Relocating memory.");
1007+
trace!("Relocating memory.");
10081008
self.vm.segments.memory.relocate_memory()?;
10091009
self.vm.end_run(&self.exec_scopes, fill_holes)?;
10101010

10111011
if disable_finalize_all {
10121012
return Ok(());
10131013
}
10141014

1015-
info!("Computing effective sizes of segments.");
1015+
trace!("Computing effective sizes of segments.");
10161016
self.vm.segments.compute_effective_sizes();
10171017
if self.is_proof_mode() && !disable_trace_padding {
10181018
info!("in proof mode and enabling trace padding, running until next power of 2.");

0 commit comments

Comments
 (0)