matsim-vsp/parallel_qsim_rust

Suppress info prints of rust_road_router library

Closed this issue · 0 comments

The rust_road_router library pollutes our log with reportings of the duration of router customization. E.g.:

[2023-04-04 19:59:13.918828 +00:00] INFO [rust_q_sim::simulation::simulation] src/simulation/simulation.rs:63: #0 of Qsim at 0:40
starting CCH apply weights
starting CCH apply weights
CCH apply weights done - took: 2.571148ms
starting CCH Customization
CCH apply weights done - took: 2.462616ms
starting CCH Customization
CCH Customization done - took: 16.947674ms
CCH Customization done - took: 45.036168ms
[2023-04-04 19:59:30.056381 +00:00] INFO [rust_q_sim::simulation::simulation] src/simulation/simulation.rs:63: #0 of Qsim at 0:50

These logs should be suppressed. In case that there is no toggle the easiest way would be forking the repository and comment the print calls out in engine/src/report/benchmark.rs:25.