Skip to content

Commit

Permalink
[CHORE] Make everything except chroma info. Make chroma debug.
Browse files Browse the repository at this point in the history
This increases verbosity of non-chroma crates and decreases verbosity of
chroma.
  • Loading branch information
rescrv committed Dec 16, 2024
1 parent 51043b9 commit c89a678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/worker/src/tracing/opentelemetry_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub(crate) fn init_otel_tracing(service_name: &String, otel_endpoint: &String) {
// global filter layer. Don't filter anything at above trace at the global layer for chroma.
// And enable errors for every other library.
let global_layer = EnvFilter::new(std::env::var("RUST_LOG").unwrap_or_else(|_| {
"error,".to_string()
"info,".to_string()
+ &vec![
"chroma",
"chroma-blockstore",
Expand All @@ -149,7 +149,7 @@ pub(crate) fn init_otel_tracing(service_name: &String, otel_endpoint: &String) {
"worker",
]
.into_iter()
.map(|s| s.to_string() + "=trace")
.map(|s| s.to_string() + "=debug")
.collect::<Vec<String>>()
.join(",")
}));
Expand Down

0 comments on commit c89a678

Please sign in to comment.