Silence ort logging
ejjonny opened this issue · 3 comments
ejjonny commented
Hello, is there any way to disable ort logging? Can't see anything useful while embedding calls are running. Thank you!!
Anush008 commented
I am not sure. Maybe @decahedron1 could help.
decahedron1 commented
With tracing-subscriber
, set the RUST_LOG
environment variable to ort=warn
.
ejjonny commented
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)