PyO3 provides a method to move the Rust logs to Python: https://pyo3.rs/v0.14.5/ecosystem/logging.html .