Anush008/fastembed-rs

Silence ort logging

ejjonny opened this issue · 3 comments

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

I am not sure. Maybe @decahedron1 could help.

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

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)