Anush008 / fastembed-rs

Library for generating vector embeddings, reranking in Rust
https://docs.rs/fastembed
Apache License 2.0
264 stars 36 forks source link

Silence ort logging #34

Closed ejjonny closed 7 months ago

ejjonny commented 7 months ago

Hello, is there any way to disable ort logging? Can't see anything useful while embedding calls are running. Thank you!!

Anush008 commented 7 months ago

I am not sure. Maybe @decahedron1 could help.

decahedron1 commented 7 months ago

With tracing-subscriber, set the RUST_LOG environment variable to ort=warn.

ejjonny commented 7 months ago

Thank you!! For future readers - you can specify per-crate logging conditions like so export RUST_LOG=info,my_crate=info,ort=warn (Configuring https://github.com/tokio-rs/tracing)