Skip to content

Commit

Permalink
refactor: Change loglevel for MultiTrajectory memory statistics from …
Browse files Browse the repository at this point in the history
…info to debug (#1623)

Currently the MTJ memory statistics are printed in INFO mode, which is quite verbose, especially if you run 100 or more events...
This changes the log level to DEBUG.
  • Loading branch information
benjaminhuth committed Oct 26, 2022
1 parent 5d65b73 commit 1d7e9b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,6 @@ ActsExamples::ProcessCode ActsExamples::TrackFindingAlgorithm::finalize()
});
std::stringstream ss;
memoryStatistics.toStream(ss);
ACTS_INFO("Track State memory statistics (averaged):\n" << ss.str());
ACTS_DEBUG("Track State memory statistics (averaged):\n" << ss.str());
return ProcessCode::SUCCESS;
}
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ ActsExamples::ProcessCode ActsExamples::TrackFittingAlgorithm::execute(

std::stringstream ss;
mtj->statistics().toStream(ss);
ACTS_INFO(ss.str());
ACTS_DEBUG(ss.str());

ctx.eventStore.add(m_cfg.outputTrajectories, std::move(trajectories));
return ActsExamples::ProcessCode::SUCCESS;
Expand Down

0 comments on commit 1d7e9b2

Please sign in to comment.