Skip to content

Commit

Permalink
Adds pyo logger
Browse files Browse the repository at this point in the history
  • Loading branch information
blakestier committed Mar 1, 2022
1 parent 18ee9a3 commit 30a84bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ axum = { version = "0.4.3" }
env_logger = { version ="0.8.4" }
log = { version = "0.4" }
pyo3 = { version = "0.15.1" }
pyo3-log = { version = "0.5.0" }
rand = { version = "0.8.4" }
scopeguard = { version = "1.1.0" }
serde = { version = "1.0.134" }
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn sleep_release_gil(py: Python, secs: u64) {
#[pymodule]
#[pyo3(name = "bytewax")]
fn mod_tiny_dancer(_py: Python, m: &PyModule) -> PyResult<()> {
env_logger::init();
pyo3_log::init();

execution::register(_py, m)?;
dataflow::register(_py, m)?;
Expand Down

0 comments on commit 30a84bf

Please sign in to comment.